<ImportExportXml version="4.0.0.0" languagecode="1033" generatedBy="OnPremise">
  <Entities>
    <Entity>
      <Name LocalizedName="Case" OriginalName="Case">Incident</Name>
      <ObjectTypeCode>112</ObjectTypeCode>
      <EntityInfo>
        <entity Name="Incident">
          <HasRelatedNotes>True</HasRelatedNotes>
          <HasRelatedActivities>True</HasRelatedActivities>
          <ObjectTypeCode>112</ObjectTypeCode>
          <CollectionName>Incidents</CollectionName>
          <LogicalCollectionName>incidents</LogicalCollectionName>
          <BaseTableName>IncidentBase</BaseTableName>
          <WorkflowEventMask>-1</WorkflowEventMask>
          <IsCustomizable>1</IsCustomizable>
          <IsCollaboration>1</IsCollaboration>
          <IsMappable>1</IsMappable>
          <IsImportable>1</IsImportable>
          <IsDuplicateCheckSupported>1</IsDuplicateCheckSupported>
          <OwnershipTypeMask>UserOwned</OwnershipTypeMask>
          <IsAudited>1</IsAudited>
          <IsParented>1</IsParented>
          <EntityMask>ActivityPointer</EntityMask>
          <IsReplicated>1</IsReplicated>
          <IsReplicationUserFiltered>1</IsReplicationUserFiltered>
          <IsActivityParty>1</IsActivityParty>
          <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
          <ExtensionTableName>IncidentExtensionBase</ExtensionTableName>
          <ReportViewName>FilteredIncident</ReportViewName>
          <IsRenameable>1</IsRenameable>
          <CanTriggerWorkflow>1</CanTriggerWorkflow>
          <CanBeChildInCustomRelationship>1</CanBeChildInCustomRelationship>
          <CanBeInCustomEntityAssociation>1</CanBeInCustomEntityAssociation>
          <CanBeInCustomReflexiveRelationship>1</CanBeInCustomReflexiveRelationship>
          <EntityClassName>Microsoft.Crm.Entities.Incident</EntityClassName>
          <EntityAssembly>Microsoft.Crm.Entities</EntityAssembly>
          <ServiceClassName>Microsoft.Crm.ObjectModel.IncidentService</ServiceClassName>
          <ServiceAssembly>Microsoft.Crm.ObjectModel</ServiceAssembly>
          <WorkflowSupport>15</WorkflowSupport>
          <DbCascadeMask>0</DbCascadeMask>
          <LocalizedNames>
            <LocalizedName description="Case" languagecode="1033" />
          </LocalizedNames>
          <LocalizedCollectionNames>
            <LocalizedCollectionName description="Cases" languagecode="1033" />
          </LocalizedCollectionNames>
          <Descriptions>
            <Description description="Service request case associated with a contract." languagecode="1033" />
          </Descriptions>
          <attributes>
            <attribute PhysicalName="ActualServiceUnits">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Actual number of service units provided for the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>1000000000</MaxValue>
              <Accuracy>0</Accuracy>
              <displaynames>
                <displayname description="Actual Service Units" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="BilledServiceUnits">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Number of service units billed for the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>1000000000</MaxValue>
              <Accuracy>0</Accuracy>
              <displaynames>
                <displayname description="Billed Service Units" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CaseOriginCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information that specifies the source of the case information, such as Web, telephone, or e-mail." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Phone" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="E-mail" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Web" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Case Origin" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CaseOriginCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>CaseOriginCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="CaseTypeCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information that specifies the type of case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Question" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Problem" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Request" languagecode="1033" />
                  </labels>
                </option>
                <option value="200555">
                  <labels>
                    <label description="CSP Procedure" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Case Type" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CaseTypeCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>CaseTypeCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="ContractServiceLevelCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Response level for the case. The response level corresponds to the level of service specified in the contract." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Gold" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Silver" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Bronze" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Service Level" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ContractServiceLevelCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>ContractServiceLevelCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="CreatedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who created the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="a3dfeed0-2241-db11-898a-0007e9e17ebd">8</LookupType>
              </LookupTypes>
              <displaynames>
                <displayname description="Created By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreatedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the case was created." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Csp_Citizencomments">
              <Type>ntext</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001c</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MaxLength>2000</MaxLength>
              <displaynames>
                <displayname description="Citizen comments" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Csp_InfoPathdata">
              <Type>ntext</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001c</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MaxLength>20000</MaxLength>
              <displaynames>
                <displayname description="InfoPath data" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="csp_procedureid">
              <Type>nvarchar</Type>
              <Length>80</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Identificator of the detail procedure" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>40</MaxLength>
              <displaynames>
                <displayname description="Procedure Id" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="csp_proceduretype">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Type of the CSP procedure" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="10006">
                  <labels>
                    <label description="Tax declaration" languagecode="1033" />
                  </labels>
                </option>
                <option value="10001">
                  <labels>
                    <label description="Building Permit" languagecode="1033" />
                  </labels>
                </option>
                <option value="10005">
                  <labels>
                    <label description="Business registration" languagecode="1033" />
                  </labels>
                </option>
                <option value="10002">
                  <labels>
                    <label description="Family Support Claim" languagecode="1033" />
                  </labels>
                </option>
                <option value="10003">
                  <labels>
                    <label description="Claim" languagecode="1033" />
                  </labels>
                </option>
                <option value="10004">
                  <labels>
                    <label description="Waste Collection" languagecode="1033" />
                  </labels>
                </option>
                <option value="10000">
                  <labels>
                    <label description="Traffic fine payment" languagecode="1033" />
                  </labels>
                </option>
                <option value="10007">
                  <labels>
                    <label description="Citizen feedback" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Procedure type" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="csp_proceduretypeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>csp_proceduretype</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="CustomerIdDsc">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <AttributeOf>CustomerId</AttributeOf>
              <XmlAbbreviation>dsc</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="CustomerIdName">
              <Type>nvarchar</Type>
              <Length>320</Length>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <AttributeOf>CustomerId</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
            </attribute>
            <attribute PhysicalName="CustomerIdType">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ObjectTypeCode</DisplayMask>
              <AttributeOf>CustomerId</AttributeOf>
              <XmlAbbreviation>type</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="CustomerSatisfactionCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Customer's level of satisfaction with the resolution of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="5">
                  <labels>
                    <label description="Very Satisfied" languagecode="1033" />
                  </labels>
                </option>
                <option value="4">
                  <labels>
                    <label description="Satisfied" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Neutral" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Dissatisfied" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Very Dissatisfied" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Satisfaction" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CustomerSatisfactionCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>CustomerSatisfactionCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DeletionStateCode">
              <Type>int</Type>
              <DefaultValue>(0)</DefaultValue>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="Description">
              <Type>ntext</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001c</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Description of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>textarea</Format>
              <MaxLength>2000</MaxLength>
              <displaynames>
                <displayname description="Description" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="FollowupBy">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date by which the customer support representative needs to follow up the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Follow Up By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ImportSequenceNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the data import or data migration that created this record." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
              <displaynames>
                <displayname description="Import Sequence Number" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="IncidentId">
              <Type>primarykey</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsPKAttribute>1</IsPKAttribute>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000032</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|RequiredForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <displaynames>
                <displayname description="Case" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="IncidentStageCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Stage of the resolution process for the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Case Stage" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="IncidentStageCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>IncidentStageCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="IsDecrementing">
              <Type>bit</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information that specifies whether the case is decrementing." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Decrementing" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="IsDecrementingName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>IsDecrementing</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="ModifiedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who last modified the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="1fd8a218-2341-db11-898a-0007e9e17ebd">8</LookupType>
              </LookupTypes>
              <displaynames>
                <displayname description="Modified By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the case was last modified." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Modified On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OverriddenCreatedOn">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time that the record was migrated." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Record Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OwnerIdDsc">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>dsc</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="OwnerIdName">
              <Type>nvarchar</Type>
              <Length>320</Length>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
            </attribute>
            <attribute PhysicalName="OwnerIdType">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ObjectTypeCode</DisplayMask>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>type</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="OwnerIdYomiName">
              <Type>nvarchar</Type>
              <Length>320</Length>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>yomi</XmlAbbreviation>
              <YomiOf>OwnerIdName</YomiOf>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
            </attribute>
            <attribute PhysicalName="OwningBusinessUnit">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>10</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <Descriptions>
                <Description description="Unique identifier of the business unit that owns the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="cd41b506-2341-db11-898a-0007e9e17ebd">10</LookupType>
              </LookupTypes>
              <displaynames>
                <displayname description="Owning Business Unit" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OwningUser">
              <Type>lookup</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <AggregateOf>OwnerId</AggregateOf>
              <Descriptions>
                <Description description="Unique identifier of the user who owns the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="5d1d9b1e-2341-db11-898a-0007e9e17ebd">8</LookupType>
              </LookupTypes>
            </attribute>
            <attribute PhysicalName="PriorityCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>QueueItemPriority|ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Priority of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>2</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="High" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Normal" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Low" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Priority" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="PriorityCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>PriorityCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="ProductSerialNumber">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Serial number of the product that is referenced in the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Serial Number" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="SeverityCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Severity of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Severity" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="SeverityCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>SeverityCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="StateCode">
              <Type>state</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000036</AttributeTypeId>
              <DisplayMask>QueueItemState|ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Status of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <states>
                <state value="0" defaultstatus="1" invariantname="Active">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </state>
                <state value="1" defaultstatus="5" invariantname="Resolved">
                  <labels>
                    <label description="Resolved" languagecode="1033" />
                  </labels>
                </state>
                <state value="2" defaultstatus="6" invariantname="Canceled">
                  <labels>
                    <label description="Canceled" languagecode="1033" />
                  </labels>
                </state>
              </states>
              <displaynames>
                <displayname description="Status" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="StateCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>StateCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="StatusCode">
              <Type>status</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000037</AttributeTypeId>
              <DisplayMask>QueueItemStatus|ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Reason for the status of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <statuses>
                <status value="1" state="0">
                  <labels>
                    <label description="Submitted" languagecode="1033" />
                  </labels>
                </status>
                <status value="2" state="0">
                  <labels>
                    <label description="Pending" languagecode="1033" />
                  </labels>
                </status>
                <status value="3" state="0">
                  <labels>
                    <label description="Waiting for Details" languagecode="1033" />
                  </labels>
                </status>
                <status value="4" state="0">
                  <labels>
                    <label description="Researching" languagecode="1033" />
                  </labels>
                </status>
                <status value="200002" state="0">
                  <labels>
                    <label description="Procedure finished" languagecode="1033" />
                  </labels>
                </status>
                <status value="5" state="1">
                  <labels>
                    <label description="Case closed" languagecode="1033" />
                  </labels>
                </status>
                <status value="200000" state="1">
                  <labels>
                    <label description="Approved" languagecode="1033" />
                  </labels>
                </status>
                <status value="200001" state="1">
                  <labels>
                    <label description="Denied" languagecode="1033" />
                  </labels>
                </status>
                <status value="6" state="2">
                  <labels>
                    <label description="Canceled" languagecode="1033" />
                  </labels>
                </status>
              </statuses>
              <displaynames>
                <displayname description="Status Reason" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="StatusCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>StatusCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="TicketNumber">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Auto-generated case number." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Case Number" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="TimeZoneRuleVersionNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <Descriptions>
                <Description description="For internal use only." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="Title">
              <Type>nvarchar</Type>
              <Length>400</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ActivityRegardingName|QueueItemTitle|ActivityPointerRegardingName|PrimaryName|ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForGrid</DisplayMask>
              <Descriptions>
                <Description description="Title of the case." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>200</MaxLength>
              <displaynames>
                <displayname description="Title" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="UTCConversionTimeZoneCode">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <Descriptions>
                <Description description="Time zone code that was in use when the record was created." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="VersionNumber">
              <Type>timestamp</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000025</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
          </attributes>
        </entity>
      </EntityInfo>
      <FormXml id="{DC89C020-8BDA-48C4-8B89-F2AAF9E48670}">
        <forms>
          <entity name="incident" objecttypecode="112">
            <form type="main" id="{f658c846-f74c-459b-b591-b97558958106}" enablerelatedinformation="true" relatedInformationCollapsed="true">
              <tabs>
                <tab verticallayout="true" id="{06a2992a-9cc9-41a5-8f37-d2b2214fdde1}" IsUserDefined="0">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" locklevel="0" id="{b0ff6f30-bcfc-dc11-9460-0003ff970d38}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="_" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="2" id="{402169db-1cd3-43cd-ac22-460af2866c11}">
                            <labels>
                              <label description="Contact" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="onchange" application="true" active="true">
                                <script>
																			
																	/* customerid has changed clear both contract and contractdetail */
																	crmForm.all.contractid.Clear();
																	crmForm.all.contractdetailid.Clear();
																	/* set contractdetailid to not required because contract is null*/
																	crmForm.SetFieldReqLevel("contractdetailid", false);
																
																		</script>
                                <dependencies>
                                  <dependency id="contractid" />
                                  <dependency id="contractdetailid" />
                                </dependencies>
                              </event>
                            </events>
                            <control id="customerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="customerid" disabled="false">
                              <parameters>
                                <AutoResolve>true</AutoResolve>
                              </parameters>
                            </control>
                          </cell>
                        </row>
                        <row>
                          <cell showlabel="false" auto="false" rowspan="2" colspan="2" id="{4f01f867-1a69-4e66-9b52-309005c5904e}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                            <control id="IFRAME_proceduredetail" classid="{FD2A7985-3187-444e-908D-6624B21F69C0}">
                              <parameters>
                                <Url>/isv/csp/proceduredetail.aspx</Url>
                                <PassParameters>true</PassParameters>
                                <Security>false</Security>
                                <Scrolling>no</Scrolling>
                                <Border>false</Border>
                              </parameters>
                            </control>
                            <events>
                              <event name="onload" application="0">
                                <script><![CDATA[ ]]></script>
                                <dependencies />
                              </event>
                            </events>
                          </cell>
                        </row>
                        <row />
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{51999b68-4b4c-439b-bb51-1b49edae03a9}" IsUserDefined="0">
                      <labels>
                        <label description="Overview" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" id="{7aebc69c-c3bb-4489-a1f2-9faf3c8b363c}" showlabel="true" locklevel="0">
                            <labels>
                              <label description="Title" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="onchange" application="false" active="false">
                                <script><![CDATA[]]></script>
                                <dependencies />
                              </event>
                            </events>
                            <control id="title" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="title" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="2" id="{c95d6044-a939-4e5f-a0d8-d299ba8cd4e9}">
                            <labels>
                              <label description="Case Number" languagecode="1033" />
                            </labels>
                            <control id="ticketnumber" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="ticketnumber" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{7f21a1bc-48b1-4423-860b-0efa5cfa7712}">
                            <labels>
                              <label description="Case Type" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="onchange" application="false" active="true">
                                <script><![CDATA[if (crmForm.casetypecode.DataValue == 200555)
  crmForm.csp_proceduretype.Disabled = false;
else
  crmForm.csp_proceduretype.Disabled = true;]]></script>
                                <dependencies />
                              </event>
                            </events>
                            <control id="casetypecode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="casetypecode" disabled="false" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{e2a70098-58a4-4a2f-a790-4fb7ffd61ff2}">
                            <labels>
                              <label description="CSP Procedure type" languagecode="1033" />
                            </labels>
                            <control id="csp_proceduretype" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="csp_proceduretype" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{a9859c32-0cdc-41b5-8e7e-3eb173cab4a8}">
                            <labels>
                              <label description="Subject" languagecode="1033" />
                            </labels>
                            <control id="subjectid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="subjectid" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{0653f522-18a7-41d4-a1ae-56164cb8b300}">
                            <labels>
                              <label description="Case Origin" languagecode="1033" />
                            </labels>
                            <control id="caseorigincode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="caseorigincode" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{e3be246e-c229-4831-867b-66b60ed1d25f}">
                            <labels>
                              <label description="Priority" languagecode="1033" />
                            </labels>
                            <control id="prioritycode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="prioritycode" disabled="false" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{88124a8d-c1a4-4580-8331-826aa0e7ae7b}">
                            <labels>
                              <label description="Status Reason" languagecode="1033" />
                            </labels>
                            <control id="statuscode" classid="{5D68B988-0661-4db2-BC3E-17598AD3BE6C}" datafieldname="statuscode" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{34d53885-5bbb-4711-a9ab-1b55928fd020}" IsUserDefined="0">
                      <labels>
                        <label description="Assignment Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{dae3e345-a070-4428-be90-ab0a926ca354}">
                            <labels>
                              <label description="Owner" languagecode="1033" />
                            </labels>
                            <control id="ownerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="ownerid" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{e7aa1351-9aa3-4164-bed1-f7ad8f34b068}">
                            <labels>
                              <label description="Actual Service Units" languagecode="1033" />
                            </labels>
                            <control id="actualserviceunits" classid="{C6D124CA-7EDA-4a60-AEA9-7FB8D318B68F}" datafieldname="actualserviceunits" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{4e5d56cd-eb6a-4ec5-9ac2-499a90f87cf5}">
                            <labels>
                              <label description="Follow Up By" languagecode="1033" />
                            </labels>
                            <control id="followupby" classid="{5B773807-9FB2-42db-97C3-7A91EFF8ADFF}" datafieldname="followupby" disabled="false" />
                          </cell>
                          <cell showlabel="true" rowspan="1" colspan="1" id="{762c00fc-609a-49ac-9401-a55713c0aea6}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="0" id="{706e1d25-ea06-dd11-9da6-0003ff970d38}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="Citizen feedback" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{069347f1-e6b8-48fb-a57a-bcfb95738778}">
                            <labels>
                              <label description="Satisfaction" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="onchange" application="false" active="false">
                                <script><![CDATA[]]></script>
                                <dependencies />
                              </event>
                            </events>
                            <control id="customersatisfactioncode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="customersatisfactioncode" disabled="false" />
                          </cell>
                          <cell showlabel="true" colspan="1" id="{f6771a45-1727-4ce1-bbc1-77295303975a}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="4" colspan="2" id="{58b5c848-2f03-4b8c-a83f-4d479cd8869d}">
                            <labels>
                              <label description="Citizen comments" languagecode="1033" />
                            </labels>
                            <control id="csp_citizencomments" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" datafieldname="csp_citizencomments" disabled="false" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                      </rows>
                    </section>
                  </sections>
                </tab>
                <tab id="{ecec23bf-2417-4bdc-a019-0a6aca6c2500}" IsUserDefined="0">
                  <labels>
                    <label description="Notes and Article" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" locklevel="0" id="{400af41e-a9f5-dc11-85cd-0003ff970d38}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="_" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="4" colspan="2" id="{6303dc26-ff46-4a95-bac2-c80e98dc7939}">
                            <labels>
                              <label description="Description" languagecode="1033" />
                            </labels>
                            <control id="description" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" datafieldname="description" disabled="false" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row>
                          <cell auto="false" showlabel="false" locklevel="0" rowspan="8" colspan="2" id="{44dd0553-8fe8-4cd9-93f3-5d344bb93e95}">
                            <labels>
                              <label description="InfoPath data" languagecode="1033" />
                            </labels>
                            <control id="csp_infopathdata" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" datafieldname="csp_infopathdata" disabled="false" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row />
                        <row />
                        <row />
                        <row />
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="1" id="{7147a561-6867-49c1-8914-acac76cb6bbf}" IsUserDefined="0" height="auto">
                      <labels>
                        <label description="Notes" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" showlabel="false" rowspan="5" locklevel="1" auto="true" id="{00ca23ab-800f-4c81-b265-6623a9821bfe}">
                            <labels>
                              <label description="Note Text" languagecode="1033" />
                            </labels>
                            <control id="notescontrol" classid="{06375649-c143-495e-a496-c962e5b4488e}" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row height="auto" />
                      </rows>
                    </section>
                    <section labelwidth="160" showlabel="true" showbar="true" locklevel="1" id="{e7405683-b295-4b3f-8c52-6fdc8b736a9c}" IsUserDefined="0">
                      <labels>
                        <label description="Knowledge Base Article" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" id="{5fe36484-a978-4069-b390-fe9400809aaa}">
                            <labels>
                              <label description="Knowledge Base Article" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="onchange" application="true" active="true">
                                <script>
																			
																	var oKbViewer = document.all.kbviewer;
																	if (!IsNull(oKbViewer))
																	{
																		var oKBId = document.all.kbarticleid.Items()[0];
																		if (IsNull(oKBId))
																		{
																			oKbViewer.src='';
																		}
																		else
																		{
																			oKbViewer.src=oKbViewer.baseSrc + oKBId.id;
																		}
																	}
																	
																		</script>
                              </event>
                              <event name="onshowdialog" application="true" active="true">
                                <script>
																			
																		var sUrl = prependOrgName('/CS/dialogs/KBSearch.aspx?isLookup=true');
																		event.oLookupItems = openStdDlg(sUrl, null, 700, 500, true);
																	
																		</script>
                              </event>
                            </events>
                            <control id="kbarticleid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="kbarticleid" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" showlabel="false" rowspan="8" id="{cd51ce63-1e6c-453f-95db-ffaaa477984f}">
                            <labels>
                              <label description="KB Viewer" languagecode="1033" />
                            </labels>
                            <control id="kbviewer" classid="{a62b6fa9-169e-406c-b1aa-eab828cb6026}" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row />
                        <row />
                        <row />
                        <row />
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{af10583d-3e30-4e24-9e5d-d2a84638abe2}" IsUserDefined="0" locklevel="0" labelwidth="115">
                      <labels>
                        <label description="Contract and Product Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{e0d2da00-1940-41ec-a875-80032bfd503a}">
                            <labels>
                              <label description="Contract" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="onclick" application="true" active="true">
                                <script>
																			
																	var bIsValid = crmForm.VerifyFieldIsSet("customerid", LOCID_ERROR_MISSING_CUSTOMER);
																	if (bIsValid)
																	{
																		var oLookup = event.srcElement;
																		oLookup.Lookup(true);
																	}
																	
																		</script>
                                <dependencies>
                                  <dependency id="customerid" />
                                </dependencies>
                              </event>
                              <event name="setadditionalparams" application="true" active="true">
                                <script>
																			
																		var oLookup = event.srcElement;
																		oLookup.AddDependantParameters("customerid");
																	
																		</script>
                                <dependencies>
                                  <dependency id="customerid" />
                                </dependencies>
                              </event>
                              <event name="onchange" application="true" active="true">
                                <script>
																			
																	crmForm.all.contractdetailid.Clear();
																	/* if there is a contractid set contractdetailid to required */
																	crmForm.SetFieldReqLevel("contractdetailid", (crmForm.all.contractid.DataValue != null));
																	
																		</script>
                                <dependencies>
                                  <dependency id="contractdetailid" />
                                </dependencies>
                              </event>
                            </events>
                            <control id="contractid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="contractid" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" id="{be75eccd-45f3-4b40-95a5-69551b1e453a}">
                            <labels>
                              <label description="Product" languagecode="1033" />
                            </labels>
                            <control id="productid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="productid" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{05ad2293-47dc-4119-a655-4a317a1a7838}">
                            <labels>
                              <label description="Contract Line" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="onclick" application="true" active="true">
                                <script>
																			
																	var bIsValid = crmForm.VerifyFieldIsSet("contractid", LOCID_ERROR_MISSING_CONTRACT);
																	if (bIsValid)
																	{
																		var oLookup = event.srcElement;
																		oLookup.Lookup(true);
																	}
																	
																		</script>
                                <dependencies>
                                  <dependency id="contractid" />
                                </dependencies>
                              </event>
                              <event name="setadditionalparams" application="true" active="true">
                                <script>
																			
																		var oLookup = event.srcElement;
																		oLookup.AddDependantParameters("contractid");
																	
																		</script>
                                <dependencies>
                                  <dependency id="contractid" />
                                </dependencies>
                              </event>
                              <event name="onchange" application="true" active="true">
                                <script>
																			
																	if(!IsNull(crmForm.all.contractdetailid.DataValue))
																	{
																		var bIsValid = crmForm.VerifyFieldIsSet("contractid", LOCID_ERROR_MISSING_CONTRACT);
																		if (!bIsValid)
																		{
																			crmForm.all.contractdetailid.Clear();
																		}															
																	}																												 
																	
																		</script>
                                <dependencies>
                                  <dependency id="contractid" />
                                </dependencies>
                              </event>
                            </events>
                            <control id="contractdetailid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="contractdetailid" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" id="{84b93c76-6856-4ab9-ad6a-173c86e9685e}">
                            <labels>
                              <label description="Serial Number" languagecode="1033" />
                            </labels>
                            <control id="productserialnumber" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="productserialnumber" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{fe76512f-1e10-41e0-bf1b-abc9433d861c}">
                            <labels>
                              <label description="Service Level" languagecode="1033" />
                            </labels>
                            <control id="contractservicelevelcode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="contractservicelevelcode" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                  </sections>
                </tab>
              </tabs>
              <events>
                <event name="onload" application="false" active="true">
                  <script><![CDATA[reloadProcedureDetail= function() { 
setTimeout( "crmForm.all.IFRAME_proceduredetail.src=crmForm.all.IFRAME_proceduredetail.src;", 2000); 
}

var menuAddMode = document.getElementById('_MSsubnewAdd');
if (menuAddMode)
  menuAddMode.disabled = 1;

if (crmForm.FormType != 2)
{
 crmForm.csp_proceduretype.Disabled = true;
 return;
}

var proctype = crmForm.csp_proceduretype.DataValue;

if (proctype != null)
{
  crmForm.casetypecode.Disabled = true;
  crmForm.csp_proceduretype.Disabled = true;
  crmForm.all.IFRAME_proceduredetail.src += "&#38;proctype=" + proctype ;
}]]></script>
                  <dependencies />
                </event>
                <event name="onsave" application="false" active="true">
                  <script><![CDATA[var proctype = crmForm.csp_proceduretype.DataValue;
if (proctype != null) 
  crmForm.all.IFRAME_proceduredetail.src += "&#38;proctype=" + proctype;]]></script>
                  <dependencies />
                </event>
              </events>
            </form>
          </entity>
          <entity objecttypecode="112" name="incident">
            <form type="preview" id="{a9187972-d060-4aa6-b915-8e1b8aebcd4c}">
              <tabs showlabels="false">
                <tab name="general" verticallayout="true" id="{3bb263a0-613e-45d1-969c-d3bd7540a632}" IsUserDefined="0">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section name="information" id="{9533a32f-c473-45d6-a889-249b4caa3faf}" IsUserDefined="0" showlabel="false" showbar="false" height="auto">
                      <labels>
                        <label description="Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" id="{6551913a-a36d-44f7-8ba9-de9c409b9859}">
                            <labels>
                              <label description="Owner" languagecode="1033" />
                            </labels>
                            <control id="ownerid" datafieldname="ownerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{91a9efe3-fae3-46f7-b59c-cbabb6bf6558}">
                            <labels>
                              <label description="Contact" languagecode="1033" />
                            </labels>
                            <control id="customerid" datafieldname="customerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" />
                          </cell>
                          <cell id="{4a7071b2-bca4-49d3-b59d-a29cb9d5e7c7}">
                            <labels>
                              <label description="Service Level" languagecode="1033" />
                            </labels>
                            <control id="contractservicelevelcode" datafieldname="contractservicelevelcode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" showlabel="false" rowspan="5" auto="true" id="{5e2977d7-c6ad-4bc1-b99e-bc71e94b77fc}">
                            <labels>
                              <label description="Description" languagecode="1033" />
                            </labels>
                            <control id="description" datafieldname="description" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row height="auto" />
                      </rows>
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
        </forms>
      </FormXml>
      <SavedQueries>
        <savedqueries entity="SavedQuery" morerecords="0" paging-cookie="" version="3.0">
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001032}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{86989CF9-F616-4919-AB72-C13EE87053A9}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="result" id="incidentid">
                  <cell name="ticketnumber" width="150" />
                  <cell name="customersatisfactioncode" width="100" />
                  <cell name="title" width="150" />
                  <cell name="casetypecode" width="100" />
                  <cell name="createdon" width="150" />
                  <cell name="customerid" width="100" />
                  <cell name="incidentcustomeridcontactcontactid.address1_postalcode" width="100" disableSorting="1" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="incident">
                  <attribute name="ticketnumber" />
                  <attribute name="title" />
                  <attribute name="createdon" />
                  <filter>
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <order attribute="ticketnumber" descending="true" />
                  <attribute name="casetypecode" />
                  <attribute name="customersatisfactioncode" />
                  <attribute name="customerid" />
                  <link-entity alias="incidentcustomeridcontactcontactid" name="contact" from="contactid" to="customerid" link-type="outer" visible="false">
                    <attribute name="address1_postalcode" />
                  </link-entity>
                  <attribute name="incidentid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Active Cases" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001030}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{49BD3CC4-76AA-4A42-A12A-34D5DA33FB8F}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="result" id="incidentid">
                  <cell name="title" width="300" />
                  <cell name="statecode" width="100" />
                  <cell name="ticketnumber" width="150" />
                  <cell name="casetypecode" width="100" />
                  <cell name="prioritycode" width="150" />
                  <cell name="createdon" width="150" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="incident">
                  <attribute name="prioritycode" />
                  <attribute name="ticketnumber" />
                  <attribute name="title" />
                  <attribute name="createdon" />
                  <order attribute="title" descending="false" />
                  <attribute name="statecode" />
                  <attribute name="casetypecode" />
                  <attribute name="incidentid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="All Cases" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001028}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{4277F7AB-9C5A-4A6C-A94A-427E138D8AFF}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="result" id="incidentid">
                  <cell name="ticketnumber" width="150" />
                  <cell name="title" width="100" />
                  <cell name="casetypecode" width="100" />
                  <cell name="createdon" width="150" />
                  <cell name="customerid" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="incident">
                  <attribute name="ticketnumber" />
                  <attribute name="createdon" />
                  <order attribute="ticketnumber" descending="false" />
                  <filter>
                    <condition attribute="ownerid" operator="eq-userid" />
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <attribute name="customerid" />
                  <attribute name="title" />
                  <attribute name="casetypecode" />
                  <attribute name="incidentid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="My Active Cases" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001029}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{E4F9B185-75C9-4F86-BA72-42E3D9F58828}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="result" id="incidentid">
                  <cell name="title" width="300" />
                  <cell name="ticketnumber" width="150" />
                  <cell name="casetypecode" width="100" />
                  <cell name="createdon" width="150" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="incident">
                  <attribute name="ticketnumber" />
                  <attribute name="title" />
                  <attribute name="createdon" />
                  <order attribute="title" descending="false" />
                  <filter>
                    <condition attribute="ownerid" operator="eq-userid" />
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                  <attribute name="casetypecode" />
                  <attribute name="incidentid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="My Resolved Cases" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="Yes">1</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{20278202-8B22-DD11-877A-0003FF90CC16}</savedqueryid>
            <savedqueryidunique>{FB5B14D5-6719-4034-8E54-EC38ECE91367}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" preview="1" icon="1">
                <row name="result" id="incidentid">
                  <cell name="ticketnumber" width="100" />
                  <cell name="title" width="200" />
                  <cell name="customerid" width="100" />
                  <cell name="csp_proceduretype" width="100" />
                  <cell name="customersatisfactioncode" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
                <entity name="incident">
                  <attribute name="customersatisfactioncode" />
                  <attribute name="csp_proceduretype" />
                  <attribute name="ticketnumber" />
                  <attribute name="customerid" />
                  <attribute name="title" />
                  <order attribute="ticketnumber" descending="true" />
                  <filter type="and">
                    <condition attribute="casetypecode" operator="eq" value="200555" />
                  </filter>
                  <attribute name="incidentid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Procedures" languagecode="1033" />
            </LocalizedNames>
            <Descriptions>
              <Description description="Cases related to CSP procedures" languagecode="1033" />
            </Descriptions>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001034}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{E4108D7F-718F-45CA-9941-E6D8EA9947E6}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="result" id="incidentid">
                  <cell name="customerid" width="100" />
                  <cell name="title" width="300" />
                  <cell name="ticketnumber" width="150" />
                  <cell name="casetypecode" width="100" />
                  <cell name="createdon" width="150" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="incident">
                  <attribute name="ticketnumber" />
                  <attribute name="title" />
                  <attribute name="createdon" />
                  <filter>
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                  <order attribute="ticketnumber" descending="true" />
                  <attribute name="casetypecode" />
                  <attribute name="customerid" />
                  <attribute name="incidentid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Resolved Cases" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000000666200}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{CEC4829C-3E71-4F61-B107-137BB1F34DF6}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="result" id="incidentid">
                  <cell name="title" width="300" />
                  <cell name="ticketnumber" width="150" />
                  <cell name="createdon" width="150" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="1">1</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="incident">
                  <attribute name="title" />
                  <attribute name="ticketnumber" />
                  <attribute name="createdon" />
                  <attribute name="incidentid" />
                  <order attribute="title" descending="false" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Case Advanced Find View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset version="3.0">
                <column>title</column>
                <column>createdon</column>
                <column>casetypecode</column>
                <column>statecode</column>
                <column>ticketnumber</column>
                <column>incidentid</column>
                <descend>ticketnumber</descend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010003501}</savedqueryid>
            <queryapi>AUTO</queryapi>
            <savedqueryidunique>{66E12ECA-62F2-408B-A66F-DCE8F1E08575}</savedqueryidunique>
            <layoutxml>
              <grid name="incidents" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="incident" id="incidentid">
                  <cell name="ticketnumber" width="100" />
                  <cell name="title" width="100" />
                  <cell name="statecode" width="100" />
                  <cell name="casetypecode" width="100" />
                  <cell name="createdon" width="150" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="2">2</querytype>
            <LocalizedNames>
              <LocalizedName description="Case Associated View" languagecode="1033" />
            </LocalizedNames>
            <Descriptions>
              <Description description="Displays information about cases in the detail form of any associated account, contact, product, or contract record. This view is in the Service side tab." languagecode="1033" />
            </Descriptions>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="Yes">1</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{D95D47EF-4A1D-479E-9065-B9CEA0089048}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{3BF2D8F5-AE3C-4501-9F10-8CCF72BCBA76}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" icon="1" preview="1">
                <row name="result" id="incidentid">
                  <cell name="title" width="300" />
                  <cell name="ticketnumber" width="150" />
                  <cell name="prioritycode" width="150" />
                  <cell name="createdon" width="150" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="4">4</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="incident">
                  <attribute name="incidentid" />
                  <attribute name="prioritycode" />
                  <attribute name="ticketnumber" />
                  <attribute name="title" />
                  <attribute name="createdon" />
                  <filter>
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="title" operator="like" value="{0}" />
                    <condition attribute="ticketnumber" operator="like" value="{0}" />
                  </filter>
                  <order attribute="title" descending="false" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Quick Find Active Cases" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="112">112</returnedtypecode>
            <savedqueryid>{9AC51863-58C7-49A0-ADCC-AFD9A4C3EE59}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{62A627A3-253C-49A6-95F0-30866702E378}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="112" jump="title" select="1" preview="0" icon="1">
                <row name="result" id="incidentid">
                  <cell name="title" width="100" />
                  <cell name="customerid" width="150" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="64">64</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="incident">
                  <attribute name="title" />
                  <attribute name="customerid" />
                  <attribute name="incidentid" />
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="title" operator="like" value="{0}" />
                    <condition attribute="ticketnumber" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Case Lookup View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
        </savedqueries>
      </SavedQueries>
      <Strings>
        <Strings ResourceKey="Error_Title_0x80044400" />
        <Strings ResourceKey="Error_Title_0x80044401" />
        <Strings ResourceKey="Error_Title_0x80044402" />
        <Strings ResourceKey="Error_Title_0x80044403" />
        <Strings ResourceKey="Error_Title_0x80044404" />
        <Strings ResourceKey="Error_Title_0x80044405" />
        <Strings ResourceKey="Error_Title_0x80044406" />
        <Strings ResourceKey="Error_Title_0x80044407" />
        <Strings ResourceKey="Error_Title_0x80044408" />
        <Strings ResourceKey="Error_Title_0x80044409" />
        <Strings ResourceKey="Error_Title_0x8004440a" />
        <Strings ResourceKey="Error_Title_0x8004440b" />
        <Strings ResourceKey="Error_Title_0x8004440c" />
        <Strings ResourceKey="Error_Message_0x80040809" />
        <Strings ResourceKey="Error_Message_0x8004320a" />
        <Strings ResourceKey="Error_Message_0x80044400" />
        <Strings ResourceKey="Error_Message_0x80044403" />
        <Strings ResourceKey="Error_Message_0x80044404" />
        <Strings ResourceKey="Error_Message_0x80044405" />
        <Strings ResourceKey="Error_Message_0x80044406" />
        <Strings ResourceKey="Error_Message_0x80044407" />
        <Strings ResourceKey="Error_Message_0x80044408" />
        <Strings ResourceKey="Error_Message_0x80044409" />
        <Strings ResourceKey="Error_Message_0x8004440a" />
        <Strings ResourceKey="Error_Message_0x8004440c" />
        <Strings ResourceKey="Area_Label_Cases" />
        <Strings ResourceKey="PickList_AllotmentType_Value_1" />
        <Strings ResourceKey="Error_Message_0x8004440e" />
        <Strings ResourceKey="Error_Title_0x8004440e" />
        <Strings ResourceKey="Case_Cancel_Dlg_Title" />
        <Strings ResourceKey="Case_Resolve_Dlg_Title" />
        <Strings ResourceKey="Case_Resolve_Dlg_Desc" />
        <Strings ResourceKey="Case_Resolve_Dlg_Confirm_Parent" />
        <Strings ResourceKey="Case_Resolve_Dlg_Confirm_ContractDetailState" />
        <Strings ResourceKey="Case_Resolve_Dlg_Confirm_Allotments" />
        <Strings ResourceKey="Case_Resolve_Dlg_Not_Enough_Allotments" />
        <Strings ResourceKey="Case_Resolve_Dlg_Confirm_Activities" />
        <Strings ResourceKey="Case_Reactivate_Dlg_Title" />
        <Strings ResourceKey="MenuItem_Cancel_Case" />
        <Strings ResourceKey="Service_DetailedDesc" />
        <Strings ResourceKey="MenuItem_Add_A_Case" />
        <Strings ResourceKey="incident_contract_is_inactive" />
        <Strings ResourceKey="incident_contractdetail_is_null" />
        <Strings ResourceKey="incident_contractdetail_is_invalid" />
        <Strings ResourceKey="incident_contract_does_not_have_allotments" />
        <Strings ResourceKey="incident_contract_not_found_no_allotments" />
        <Strings ResourceKey="Customer_Service_Description" />
        <Strings ResourceKey="MenuItem_ToolTip_Convert_Entity_Mask" />
        <Strings ResourceKey="MenuItem_ToolTip_Convert_Email_Mask" />
        <Strings ResourceKey="MenuItem_Label_ConvertToCase" />
        <Strings ResourceKey="MenuItem_ToolTip_ConvertToCase" />
        <Strings ResourceKey="Convert_Activity_To_Case_Dlg_Title" />
        <Strings ResourceKey="Convert_Activity_To_Case_Dlg_Desc" />
        <Strings ResourceKey="ConvertActivity_Action_OpenNewCase" />
        <Strings ResourceKey="Web.CS.home_cases.aspx_47" />
        <Strings ResourceKey="Web.CS.cases.dlg_cancel.aspx_50" />
        <Strings ResourceKey="Web.CS.cases.dlg_closecase.aspx_50" />
        <Strings ResourceKey="Web.CS.cases.dlg_reactivate.aspx_50" />
        <Strings ResourceKey="Message_Cannot_Assign_Case" />
        <Strings ResourceKey="RelatedInformation_Tips_incident_customerid" />
        <Strings ResourceKey="RelatedInformation_Tips_incident_subjectid" />
        <Strings ResourceKey="RelatedInformation_Tips_incident_contractid" />
        <Strings ResourceKey="RelatedInformation_Tips_incident_contractdetailid" />
        <Strings ResourceKey="Web.Tools.SubjectEditor.SubjectEditor.aspx_154" />
        <Strings ResourceKey="SystemCustomization.SettingsPage.AutoNumbering.Help" />
        <Strings ResourceKey="Web._grid.cmds.dlg_delete_account.aspx_54" />
        <Strings ResourceKey="Web._grid.cmds.dlg_delete_contact.aspx_54" />
        <Strings ResourceKey="Web._grid.cmds.bulkemail.xsl_56" />
        <Strings ResourceKey="Contract_SubArea_Description" />
        <Strings ResourceKey="Article_SubArea_Description" />
      </Strings>
    </Entity>
    <Entity>
      <Name LocalizedName="Contact" OriginalName="Contact">Contact</Name>
      <ObjectTypeCode>2</ObjectTypeCode>
      <EntityInfo>
        <entity Name="Contact">
          <HasRelatedNotes>True</HasRelatedNotes>
          <HasRelatedActivities>True</HasRelatedActivities>
          <ObjectTypeCode>2</ObjectTypeCode>
          <CollectionName>Contacts</CollectionName>
          <LogicalCollectionName>contacts</LogicalCollectionName>
          <BaseTableName>ContactBase</BaseTableName>
          <WorkflowEventMask>-1</WorkflowEventMask>
          <EventMask>1</EventMask>
          <IsCustomizable>1</IsCustomizable>
          <AddressTableName>CustomerAddress</AddressTableName>
          <IsMappable>1</IsMappable>
          <IsImportable>1</IsImportable>
          <IsDuplicateCheckSupported>1</IsDuplicateCheckSupported>
          <OwnershipTypeMask>UserOwned</OwnershipTypeMask>
          <IsAudited>1</IsAudited>
          <UsesFullNameConventionRules>1</UsesFullNameConventionRules>
          <EntityMask>ActivityPointer</EntityMask>
          <IsReplicated>1</IsReplicated>
          <IsReplicationUserFiltered>1</IsReplicationUserFiltered>
          <IsActivityParty>1</IsActivityParty>
          <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
          <ExtensionTableName>ContactExtensionBase</ExtensionTableName>
          <ReportViewName>FilteredContact</ReportViewName>
          <IsRenameable>1</IsRenameable>
          <CanTriggerWorkflow>1</CanTriggerWorkflow>
          <CanBeChildInCustomRelationship>1</CanBeChildInCustomRelationship>
          <CanBeInCustomEntityAssociation>1</CanBeInCustomEntityAssociation>
          <CanBeInCustomReflexiveRelationship>1</CanBeInCustomReflexiveRelationship>
          <IsMailMergeEnabled>1</IsMailMergeEnabled>
          <EntityClassName>Microsoft.Crm.Entities.Contact</EntityClassName>
          <EntityAssembly>Microsoft.Crm.Entities</EntityAssembly>
          <ServiceClassName>Microsoft.Crm.ObjectModel.ContactService</ServiceClassName>
          <ServiceAssembly>Microsoft.Crm.ObjectModel</ServiceAssembly>
          <WorkflowSupport>15</WorkflowSupport>
          <DbCascadeMask>0</DbCascadeMask>
          <LocalizedNames>
            <LocalizedName description="Contact" languagecode="1033" />
          </LocalizedNames>
          <LocalizedCollectionNames>
            <LocalizedCollectionName description="Contacts" languagecode="1033" />
          </LocalizedCollectionNames>
          <Descriptions>
            <Description description="Person with whom a business unit has a relationship, such as customer, supplier, and colleague." languagecode="1033" />
          </Descriptions>
          <attributes>
            <attribute PhysicalName="AccountRoleCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Account role of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Decision Maker" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Employee" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Influencer" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Role" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="AccountRoleCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>AccountRoleCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Address1_AddressId">
              <Type>primarykey</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000032</AttributeTypeId>
              <Descriptions>
                <Description description="Unique identifier for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <displaynames>
                <displayname description="Address 1: ID" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_AddressTypeCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Type of address for address 1, such as billing, shipping, or primary address." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Bill To" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Ship To" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Primary" languagecode="1033" />
                  </labels>
                </option>
                <option value="4">
                  <labels>
                    <label description="Other" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Address 1: Address Type" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_AddressTypeCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>Address1_AddressTypeCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Address1_City">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="City name for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: City" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Country">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Country/region name for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Country/Region" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_County">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="County name for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: County" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Fax">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Fax number for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Fax" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_FreightTermsCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Freight terms for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="FOB" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="No Charge" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Address 1: Freight Terms" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_FreightTermsCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>Address1_FreightTermsCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Address1_Latitude">
              <Type>float</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000017</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Latitude for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-90</MinValue>
              <MaxValue>90</MaxValue>
              <Accuracy>5</Accuracy>
              <displaynames>
                <displayname description="Address 1: Latitude" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Line1">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="First line for entering address 1 information." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Street 1" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Line2">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Second line for entering address 1 information." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Street 2" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Line3">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Third line for entering address 1 information." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Street 3" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Longitude">
              <Type>float</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000017</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Longitude for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-180</MinValue>
              <MaxValue>180</MaxValue>
              <Accuracy>5</Accuracy>
              <displaynames>
                <displayname description="Address 1: Longitude" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Name">
              <Type>nvarchar</Type>
              <Length>400</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Name to enter for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>200</MaxLength>
              <displaynames>
                <displayname description="Address 1: Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_PostalCode">
              <Type>nvarchar</Type>
              <Length>40</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="ZIP Code or postal code for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>20</MaxLength>
              <displaynames>
                <displayname description="Address 1: ZIP/Postal Code" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_PostOfficeBox">
              <Type>nvarchar</Type>
              <Length>40</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Post office box number for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>20</MaxLength>
              <displaynames>
                <displayname description="Address 1: Post Office Box" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_PrimaryContactName">
              <Type>nvarchar</Type>
              <Length>300</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Name to enter for address 1 for the primary contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Address 1: Primary Contact Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_ShippingMethodCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Method of shipment for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Airborne" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="DHL" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="FedEx" languagecode="1033" />
                  </labels>
                </option>
                <option value="4">
                  <labels>
                    <label description="UPS" languagecode="1033" />
                  </labels>
                </option>
                <option value="5">
                  <labels>
                    <label description="Postal Mail" languagecode="1033" />
                  </labels>
                </option>
                <option value="6">
                  <labels>
                    <label description="Full Load" languagecode="1033" />
                  </labels>
                </option>
                <option value="7">
                  <labels>
                    <label description="Will Call" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Address 1: Shipping Method" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_ShippingMethodCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>Address1_ShippingMethodCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Address1_StateOrProvince">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="State or province for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: State/Province" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Telephone1">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="First telephone number associated with address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Phone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Telephone2">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Second telephone number associated with address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Telephone 2" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_Telephone3">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Third telephone number associated with address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 1: Telephone 3" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_UPSZone">
              <Type>nvarchar</Type>
              <Length>8</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="United Parcel Service (UPS) zone for address 1." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>4</MaxLength>
              <displaynames>
                <displayname description="Address 1: UPS Zone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address1_UTCOffset">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>timezone</Format>
              <MinValue>-1500</MinValue>
              <MaxValue>1500</MaxValue>
              <Accuracy>0</Accuracy>
              <displaynames>
                <displayname description="Address 1: UTC Offset" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_AddressId">
              <Type>primarykey</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000032</AttributeTypeId>
              <Descriptions>
                <Description description="Unique identifier for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <displaynames>
                <displayname description="Address 2: ID" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_AddressTypeCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Type of address for address 2, such as billing, shipping, or primary address." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Address 2: Address Type" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_AddressTypeCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>Address2_AddressTypeCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Address2_City">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="City name for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: City" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Country">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Country/region name for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Country/Region" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_County">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="County name for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: County" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Fax">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Fax number for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Fax" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_FreightTermsCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Freight terms for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Address 2: Freight Terms" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_FreightTermsCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>Address2_FreightTermsCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Address2_Latitude">
              <Type>float</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000017</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Latitude for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-90</MinValue>
              <MaxValue>90</MaxValue>
              <Accuracy>5</Accuracy>
              <displaynames>
                <displayname description="Address 2: Latitude" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Line1">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="First line for entering address 2 information." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Street 1" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Line2">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Second line for entering address 2 information." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Street 2" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Line3">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Third line for entering address 2 information." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Street 3" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Longitude">
              <Type>float</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000017</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Longitude for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-180</MinValue>
              <MaxValue>180</MaxValue>
              <Accuracy>5</Accuracy>
              <displaynames>
                <displayname description="Address 2: Longitude" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Name">
              <Type>nvarchar</Type>
              <Length>400</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Name to enter for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Address 2: Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_PostalCode">
              <Type>nvarchar</Type>
              <Length>40</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="ZIP Code or postal code for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>20</MaxLength>
              <displaynames>
                <displayname description="Address 2: ZIP/Postal Code" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_PostOfficeBox">
              <Type>nvarchar</Type>
              <Length>40</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Post office box number for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>20</MaxLength>
              <displaynames>
                <displayname description="Address 2: Post Office Box" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_PrimaryContactName">
              <Type>nvarchar</Type>
              <Length>300</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Name to enter for address 2 for the primary contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Address 2: Primary Contact Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_ShippingMethodCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Method of shipment for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Address 2: Shipping Method " languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_ShippingMethodCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>Address2_ShippingMethodCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Address2_StateOrProvince">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="State or province for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: State/Province" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Telephone1">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="First telephone number associated with address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Telephone 1" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Telephone2">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Second telephone number associated with address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Telephone 2" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_Telephone3">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Third telephone number associated with address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Address 2: Telephone 3" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_UPSZone">
              <Type>nvarchar</Type>
              <Length>8</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="United Parcel Service (UPS) zone for address 2." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>4</MaxLength>
              <displaynames>
                <displayname description="Address 2: UPS Zone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Address2_UTCOffset">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>timezone</Format>
              <MinValue>-1500</MinValue>
              <MaxValue>1500</MaxValue>
              <Accuracy>0</Accuracy>
              <displaynames>
                <displayname description="Address 2: UTC Offset" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Aging30">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="For internal use only." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>100000000000000</MaxValue>
              <Accuracy>2</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Aging 30" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Aging30_Base">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <CalculationOf>Aging30</CalculationOf>
              <Descriptions>
                <Description description="Base currency equivalent of the aging 30 for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-922337203685477</MinValue>
              <MaxValue>922337203685477</MaxValue>
              <Accuracy>4</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Aging 30 (Base)" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Aging60">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="For internal use only." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>100000000000000</MaxValue>
              <Accuracy>2</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Aging 60" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Aging60_Base">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <CalculationOf>Aging60</CalculationOf>
              <Descriptions>
                <Description description="Base currency equivalent of the aging 60 for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-922337203685477</MinValue>
              <MaxValue>922337203685477</MaxValue>
              <Accuracy>4</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Aging 60 (Base)" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Aging90">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="For internal use only." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>100000000000000</MaxValue>
              <Accuracy>2</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Aging 90" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Aging90_Base">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <CalculationOf>Aging90</CalculationOf>
              <Descriptions>
                <Description description="Base currency equivalent of the aging 90 for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-922337203685477</MinValue>
              <MaxValue>922337203685477</MaxValue>
              <Accuracy>4</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Aging 90 (Base)" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Anniversary">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Wedding anniversary of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Anniversary" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="AnnualIncome">
              <Type>money</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Annual income of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>100000000000000</MaxValue>
              <Accuracy>2</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Annual Income" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="AnnualIncome_Base">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <CalculationOf>AnnualIncome</CalculationOf>
              <Descriptions>
                <Description description="Base currency equivalent of the annual income of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-922337203685477</MinValue>
              <MaxValue>922337203685477</MaxValue>
              <Accuracy>4</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Annual Income (Base)" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="AssistantName">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Name of the contact's assistant contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Assistant" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="AssistantPhone">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Phone number for the contact's assistant." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Assistant Phone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="BirthDate">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Birth date of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Birthday" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ChildrensNames">
              <Type>nvarchar</Type>
              <Length>510</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Names of the contact's children." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Children's Names" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ContactId">
              <Type>primarykey</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsPKAttribute>1</IsPKAttribute>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000032</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|RequiredForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <displaynames>
                <displayname description="Contact" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreatedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who created the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="54d6a218-2341-db11-898a-0007e9e17ebd">8</LookupType>
              </LookupTypes>
              <displaynames>
                <displayname description="Created By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreatedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the contact was created." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreditLimit">
              <Type>money</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Credit limit for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>100000000000000</MaxValue>
              <Accuracy>2</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Credit Limit" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreditLimit_Base">
              <Type>money</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001a</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <CalculationOf>CreditLimit</CalculationOf>
              <Descriptions>
                <Description description="Base currency equivalent of the credit limit for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-922337203685477</MinValue>
              <MaxValue>922337203685477</MaxValue>
              <Accuracy>4</Accuracy>
              <AccuracySource>0</AccuracySource>
              <displaynames>
                <displayname description="Credit Limit (Base)" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreditOnHold">
              <Type>bit</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether credit for the contact is on hold." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Credit Hold" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreditOnHoldName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>CreditOnHold</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="csp_elderlyrelatives">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Number of elderly relatives" languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>none</Format>
              <MinValue>0</MinValue>
              <MaxValue>100</MaxValue>
              <displaynames>
                <displayname description="Elderly relatives" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="csp_enabled">
              <Type>bit</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Contact enabled for the CSP Internet web site" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <options>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="CSP enabled" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="csp_enabledName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>csp_enabled</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="csp_password">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Password of the citizen in the CSP Internet web site" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="CSP Password" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="csp_picture">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="URL to CSP Picture" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="CSP Picture" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="csp_username">
              <Type>nvarchar</Type>
              <Length>40</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Identifier of the citizen in the CSP Internet web site" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>20</MaxLength>
              <displaynames>
                <displayname description="CSP User name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CustomerSizeCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Size of the contact's business." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Customer Size" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CustomerSizeCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>CustomerSizeCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="CustomerTypeCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Type of business associated with the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Relationship Type" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CustomerTypeCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>CustomerTypeCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DeletionStateCode">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="Department">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Department in the business unit or organization associated with the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Department" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Description">
              <Type>ntext</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001c</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Description of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>textarea</Format>
              <MaxLength>2000</MaxLength>
              <displaynames>
                <displayname description="Description" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DoNotBulkEMail">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether to allow sending direct e-mail to the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="Allow" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Do Not Allow" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Do not allow Bulk E-mails" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DoNotBulkEMailName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>DoNotBulkEMail</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DoNotBulkPostalMail">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether to allow sending bulk-rate postal mail to the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Do not allow Bulk Mails" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DoNotBulkPostalMailName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>DoNotBulkPostalMail</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DoNotEMail">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether to allow sending e-mail to the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="Allow" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Do Not Allow" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Do not allow E-mails" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DoNotEMailName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>DoNotEMail</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DoNotFax">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether to allow sending fax transmittals to the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="Allow" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Do Not Allow" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Do not allow Faxes" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DoNotFaxName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>DoNotFax</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DoNotPhone">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether to allow phone calls to the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="Allow" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Do Not Allow" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Do not allow Phone Calls" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DoNotPhoneName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>DoNotPhone</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DoNotPostalMail">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether to allow sending postal mail to the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="Allow" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Do Not Allow" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Do not allow Mails" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DoNotPostalMailName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>DoNotPostalMail</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DoNotSendMarketingMaterialName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>DoNotSendMM</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="DoNotSendMM">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information regarding whether to allow sending marketing mail to the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Send Marketing Materials" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="EducationCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Formal education level that the contact has attained." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Education" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="EducationCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>EducationCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="EMailAddress1">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="First e-mail address for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>email</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="E-mail" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="EMailAddress2">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Second e-mail address for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>email</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="E-mail Address 2" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="EMailAddress3">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Third e-mail address for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>email</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="E-mail Address 3" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="EmployeeId">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Employee ID for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Employee" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ExchangeRate">
              <Type>decimal</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000016</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Exchange rate for the currency associated with the contact with respect to the base currency." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>1E-10</MinValue>
              <MaxValue>100000000000</MaxValue>
              <Accuracy>10</Accuracy>
              <displaynames>
                <displayname description="Exchange Rate" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ExternalUserIdentifier">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <Descriptions>
                <Description description="Identifier for an external user." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="External User Identifier" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="FamilyStatusCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Marital status of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Single" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Married" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Divorced" languagecode="1033" />
                  </labels>
                </option>
                <option value="4">
                  <labels>
                    <label description="Widowed" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Marital Status" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="FamilyStatusCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>FamilyStatusCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Fax">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Fax number for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Fax" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="FirstName">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForForm</DisplayMask>
              <Descriptions>
                <Description description="First name of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>recommended</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="First Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="FtpSiteUrl">
              <Type>nvarchar</Type>
              <Length>400</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="FTP site URL for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>url</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="FTP Site" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="FullName">
              <Type>nvarchar</Type>
              <Length>320</Length>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ActivityRegardingName|ActivityPointerRegardingName|PrimaryName|ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForGrid</DisplayMask>
              <Descriptions>
                <Description description="Full name of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>160</MaxLength>
              <displaynames>
                <displayname description="Full Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="GenderCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Gender of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Male" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Female" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Gender" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="GenderCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>GenderCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="GovernmentId">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Government ID for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Government" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="HasChildrenCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether the contact has children." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Has Children" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="HasChildrenCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>HasChildrenCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="ImportSequenceNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the data import or data migration that created this record." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
              <displaynames>
                <displayname description="Import Sequence Number" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="IsBackofficeCustomer">
              <Type>bit</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Information about whether the contact is in an associated Microsoft Great Plains database." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Backoffice Customer" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="IsBackofficeCustomerName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>IsBackofficeCustomer</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="IsPrivate">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
              </options>
            </attribute>
            <attribute PhysicalName="IsPrivateName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>IsPrivate</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="JobTitle">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Job title of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Job Title" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="LastName">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForForm</DisplayMask>
              <Descriptions>
                <Description description="Last name of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Last Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="LastUsedInCampaign">
              <Type>datetime</Type>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the contact was last contacted as a part of a marketing campaign." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Last Date Included in Campaign" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="LeadSourceCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Source of the lead of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Lead Source" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="LeadSourceCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>LeadSourceCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="ManagerName">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Name of the contact's manager." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Manager" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ManagerPhone">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Phone number for the contact's manager." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Manager Phone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Merged">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <Descriptions>
                <Description description="Information regarding whether the account has been merged with a master contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Merged" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="MergedName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>Merged</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="MiddleName">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Middle name of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Middle Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="MobilePhone">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Mobile phone number for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Mobile Phone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who last modified the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="ffe9af0c-2341-db11-898a-0007e9e17ebd">8</LookupType>
              </LookupTypes>
              <displaynames>
                <displayname description="Modified By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the contact was last modified." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Modified On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="NickName">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Nickname of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Nickname" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="NumberOfChildren">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="How many children the contact has." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>0</MinValue>
              <MaxValue>1000000000</MaxValue>
              <Accuracy>0</Accuracy>
              <displaynames>
                <displayname description="No. of Children" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OverriddenCreatedOn">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time that the record was migrated." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Record Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OwnerId">
              <Type>owner</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000035</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who owns the contract." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <LookupClass>BasicOwner</LookupClass>
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="c398ba00-2341-db11-898a-0007e9e17ebd">8</LookupType>
              </LookupTypes>
              <displaynames>
                <displayname description="Owner" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OwnerIdDsc">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>dsc</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="OwnerIdName">
              <Type>nvarchar</Type>
              <Length>320</Length>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
            </attribute>
            <attribute PhysicalName="OwnerIdType">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ObjectTypeCode</DisplayMask>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>type</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="OwnerIdYomiName">
              <Type>nvarchar</Type>
              <Length>320</Length>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <AttributeOf>OwnerId</AttributeOf>
              <XmlAbbreviation>yomi</XmlAbbreviation>
              <YomiOf>OwnerIdName</YomiOf>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
            </attribute>
            <attribute PhysicalName="OwningBusinessUnit">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>10</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <Descriptions>
                <Description description="Unique identifier of the business unit that owns the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="86e0eed0-2241-db11-898a-0007e9e17ebd">10</LookupType>
              </LookupTypes>
              <displaynames>
                <displayname description="Owning Business Unit" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OwningUser">
              <Type>lookup</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <AggregateOf>OwnerId</AggregateOf>
              <Descriptions>
                <Description description="Unique identifier for the user who owns the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupStyle>single</LookupStyle>
              <LookupTypes>
                <LookupType id="2a1d9b1e-2341-db11-898a-0007e9e17ebd">8</LookupType>
              </LookupTypes>
            </attribute>
            <attribute PhysicalName="Pager">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Pager number for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Pager" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ParentCustomerIdDsc">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <AttributeOf>ParentCustomerId</AttributeOf>
              <XmlAbbreviation>dsc</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="ParentCustomerIdName">
              <Type>nvarchar</Type>
              <Length>320</Length>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <AttributeOf>ParentCustomerId</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
            </attribute>
            <attribute PhysicalName="ParentCustomerIdType">
              <Type>int</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <DisplayMask>ObjectTypeCode</DisplayMask>
              <AttributeOf>ParentCustomerId</AttributeOf>
              <XmlAbbreviation>type</XmlAbbreviation>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="ParentCustomerIdYomiName">
              <Type>nvarchar</Type>
              <Length>900</Length>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <AttributeOf>ParentCustomerId</AttributeOf>
              <XmlAbbreviation>yomi</XmlAbbreviation>
              <YomiOf>ParentCustomerIdName</YomiOf>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
            </attribute>
            <attribute PhysicalName="ParticipatesInWorkflow">
              <Type>bit</Type>
              <DefaultValue>(0)</DefaultValue>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000013</AttributeTypeId>
              <Descriptions>
                <Description description="Information about whether the contact participates in workflow rules." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="No" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Yes" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Participates in Workflow" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ParticipatesInWorkflowName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>ParticipatesInWorkflow</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="PaymentTermsCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Payment terms for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Net 30" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="2% 10, Net 30" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Net 45" languagecode="1033" />
                  </labels>
                </option>
                <option value="4">
                  <labels>
                    <label description="Net 60" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Payment Terms" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="PaymentTermsCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>PaymentTermsCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="PreferredAppointmentDayCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Day of the week that the contact prefers for scheduling service activities." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <options>
                <option value="0">
                  <labels>
                    <label description="Sunday" languagecode="1033" />
                  </labels>
                </option>
                <option value="1">
                  <labels>
                    <label description="Monday" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Tuesday" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Wednesday" languagecode="1033" />
                  </labels>
                </option>
                <option value="4">
                  <labels>
                    <label description="Thursday" languagecode="1033" />
                  </labels>
                </option>
                <option value="5">
                  <labels>
                    <label description="Friday" languagecode="1033" />
                  </labels>
                </option>
                <option value="6">
                  <labels>
                    <label description="Saturday" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Preferred Day" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="PreferredAppointmentDayCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>PreferredAppointmentDayCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="PreferredAppointmentTimeCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Time of day that the contact prefers for scheduling service activities." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Morning" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="Afternoon" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Evening" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Preferred Time" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="PreferredAppointmentTimeCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>PreferredAppointmentTimeCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="PreferredContactMethodCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Preferred contact method for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Any" languagecode="1033" />
                  </labels>
                </option>
                <option value="2">
                  <labels>
                    <label description="E-mail" languagecode="1033" />
                  </labels>
                </option>
                <option value="3">
                  <labels>
                    <label description="Phone" languagecode="1033" />
                  </labels>
                </option>
                <option value="4">
                  <labels>
                    <label description="Fax" languagecode="1033" />
                  </labels>
                </option>
                <option value="5">
                  <labels>
                    <label description="Mail" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Preferred Method of Contact" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="PreferredContactMethodCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>PreferredContactMethodCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Salutation">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Salutation for correspondence with the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Salutation" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ShippingMethodCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Method of shipping for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Shipping Method " languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ShippingMethodCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>ShippingMethodCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="SpousesName">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Name of the contact's spouse/partner." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Spouse/Partner Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="StateCode">
              <Type>state</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000036</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Status of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format />
              <AppDefaultValue>0</AppDefaultValue>
              <states>
                <state value="0" defaultstatus="1" invariantname="Active">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </state>
                <state value="1" defaultstatus="2" invariantname="Inactive">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </state>
              </states>
              <displaynames>
                <displayname description="Status" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="StateCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>StateCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="StatusCode">
              <Type>status</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000037</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Reason for the status of the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>-1</AppDefaultValue>
              <statuses>
                <status value="1" state="0">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </status>
                <status value="2" state="1">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </status>
              </statuses>
              <displaynames>
                <displayname description="Status Reason" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="StatusCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>StatusCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="SubscriptionId">
              <Type>uniqueidentifier</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000027</AttributeTypeId>
              <Descriptions>
                <Description description="For internal use only." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="Suffix">
              <Type>nvarchar</Type>
              <Length>20</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Suffix for the contact name, such as Jr., Sr., or III." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>10</MaxLength>
              <displaynames>
                <displayname description="Suffix" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Telephone1">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="First telephone number for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Business Phone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Telephone2">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Second telephone number for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Home Phone" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="Telephone3">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Third telephone number for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Telephone 3" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="TerritoryCode">
              <Type>picklist</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000030</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the territory to which the contact is assigned." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <AppDefaultValue>1</AppDefaultValue>
              <options>
                <option value="1">
                  <labels>
                    <label description="Default Value" languagecode="1033" />
                  </labels>
                </option>
              </options>
              <displaynames>
                <displayname description="Territory" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="TerritoryCodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>TerritoryCode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <IsSortAttribute>1</IsSortAttribute>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="TimeZoneRuleVersionNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <Descriptions>
                <Description description="For internal use only." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="UTCConversionTimeZoneCode">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <Descriptions>
                <Description description="Time zone code that was in use when the record was created." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="VersionNumber">
              <Type>timestamp</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000025</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
            </attribute>
            <attribute PhysicalName="WebSiteUrl">
              <Type>nvarchar</Type>
              <Length>400</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Web site URL for the contact." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>url</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Web Site" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="YomiFirstName">
              <Type>nvarchar</Type>
              <Length>300</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <YomiOf>FirstName</YomiOf>
              <Descriptions>
                <Description description="Hiragana or Katakana phonetic guide for the contact first name, used for Yomi sorting." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>phoneticguide</Format>
              <MaxLength>150</MaxLength>
              <displaynames>
                <displayname description="Yomi First Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="YomiFullName">
              <Type>nvarchar</Type>
              <Length>900</Length>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <YomiOf>FullName</YomiOf>
              <Descriptions>
                <Description description="Hiragana or Katakana phonetic guide for the contact full name, used for Yomi sorting." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>phoneticguide</Format>
              <MaxLength>450</MaxLength>
              <displaynames>
                <displayname description="Yomi Full Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="YomiLastName">
              <Type>nvarchar</Type>
              <Length>300</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <YomiOf>LastName</YomiOf>
              <Descriptions>
                <Description description="Hiragana or Katakana phonetic guide for the contact last name, used for Yomi sorting." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>phoneticguide</Format>
              <MaxLength>150</MaxLength>
              <displaynames>
                <displayname description="Yomi Last Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="YomiMiddleName">
              <Type>nvarchar</Type>
              <Length>300</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <YomiOf>MiddleName</YomiOf>
              <Descriptions>
                <Description description="Hiragana or Katakana phonetic guide for the contact middle name, used for Yomi sorting." languagecode="1033" />
              </Descriptions>
              <ImeMode>active</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>phoneticguide</Format>
              <MaxLength>150</MaxLength>
              <displaynames>
                <displayname description="Yomi Middle Name" languagecode="1033" />
              </displaynames>
            </attribute>
          </attributes>
        </entity>
      </EntityInfo>
      <FormXml id="{9940E711-F625-46AE-BFB7-2D47B40A92E5}">
        <forms>
          <entity name="contact" objecttypecode="2">
            <form type="main" id="{894cc46a-b0cb-4ab0-8bf6-200544e46a2d}" enablerelatedinformation="true" relatedInformationCollapsed="true">
              <data id="fullname" datafieldname="fullname" classid="{5546E6CD-394C-4bee-94A8-4425E17EF6C6}" />
              <data id="address1_addressid" datafieldname="address1_addressid" classid="{5546E6CD-394C-4bee-94A8-4425E17EF6C6}" />
              <data id="address2_addressid" datafieldname="address2_addressid" classid="{5546E6CD-394C-4bee-94A8-4425E17EF6C6}" />
              <tabs>
                <tab verticallayout="true" id="{9748ec98-3746-40cc-83bf-d15c7363166f}" IsUserDefined="0">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" id="{90b0776f-2977-4695-9cd4-73bb6c820f88}" IsUserDefined="0">
                      <labels>
                        <label description="Name" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{90317617-38db-4734-aef8-4bb4e8cb9012}">
                            <labels>
                              <label description="Salutation" languagecode="1033" />
                            </labels>
                            <control id="salutation" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="salutation" />
                          </cell>
                          <cell id="{f3eec8ff-7b5a-43af-92c4-1a41adaf4b50}">
                            <labels>
                              <label description="Business Phone" languagecode="1033" />
                            </labels>
                            <control id="telephone1" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="telephone1" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{478c8803-2686-4d10-8cf0-e6e5b3b6007f}">
                            <labels>
                              <label description="First Name" languagecode="1033" />
                            </labels>
                            <control id="firstname" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="firstname" />
                          </cell>
                          <cell id="{0304f83d-bb05-4e72-bf12-c9bfa8a8e152}">
                            <labels>
                              <label description="Home Phone" languagecode="1033" />
                            </labels>
                            <control id="telephone2" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="telephone2" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{8097efd5-8af7-4944-b7a5-42ece196e23d}">
                            <labels>
                              <label description="Middle Name" languagecode="1033" />
                            </labels>
                            <control id="middlename" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="middlename" />
                          </cell>
                          <cell id="{70d9cd8f-142b-4a88-bf82-4d2bc2972140}">
                            <labels>
                              <label description="Mobile Phone" languagecode="1033" />
                            </labels>
                            <control id="mobilephone" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="mobilephone" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{4fde05d9-89b1-4acf-a98f-13159f1bdcc8}">
                            <labels>
                              <label description="Last Name" languagecode="1033" />
                            </labels>
                            <control id="lastname" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="lastname" />
                          </cell>
                          <cell id="{068c2954-dfdf-4d68-a9da-f70e3feb3e63}">
                            <labels>
                              <label description="Fax" languagecode="1033" />
                            </labels>
                            <control id="fax" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="fax" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{921eaba2-6044-405e-8354-c3c5dbe3e97f}">
                            <labels>
                              <label description="Job Title" languagecode="1033" />
                            </labels>
                            <control id="jobtitle" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="jobtitle" />
                          </cell>
                          <cell id="{93b7e0c8-67ad-4a2c-9b34-c29594c27845}">
                            <labels>
                              <label description="Pager" languagecode="1033" />
                            </labels>
                            <control id="pager" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="pager" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{1afed90e-5ba2-4868-b33f-e4ffe086596b}">
                            <labels>
                              <label description="Parent Customer" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="setadditionalparams" application="true" active="true">
                                <script><![CDATA[
																	var sParentCustomerId = crmFormSubmit.crmFormSubmitId.value;
																	var oLookup = event.srcElement;
																	if (sParentCustomerId == "")
																	{
																		sParentCustomerId = '{00000000-0000-0000-0000-000000000000}';
																	}

																	/* Filter out the current contact */
																	oLookup.AddParam("currentcontact", sParentCustomerId);
																	oLookup.AddParam("currentaccount", sParentCustomerId);
																]]></script>
                              </event>
                            </events>
                            <control id="parentcustomerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="parentcustomerid" disabled="false" />
                          </cell>
                          <cell id="{38d7b950-436b-412f-a71b-ae4187e60c14}">
                            <labels>
                              <label description="E-mail" languagecode="1033" />
                            </labels>
                            <control id="emailaddress1" classid="{ADA2203E-B4CD-49be-9DDF-234642B43B52}" datafieldname="emailaddress1" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{d9a0c6e4-2016-48cd-b0c1-a6a03e9d47c6}">
                            <labels>
                              <label description="Currency" languagecode="1033" />
                            </labels>
                            <control id="transactioncurrencyid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="transactioncurrencyid" />
                          </cell>
                          <cell id="{46131426-5d5f-4d58-82ac-3a055d98e2dd}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{f2f6f734-1790-402f-8e2a-1eaecbceb9e3}" IsUserDefined="0">
                      <labels>
                        <label description="Address" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{facc3b67-af55-4962-8072-d97c1a955db6}">
                            <labels>
                              <label description="Address Name" languagecode="1033" />
                            </labels>
                            <control id="address1_name" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_name" />
                          </cell>
                          <cell id="{10aea51b-0d20-4c65-adef-295b30446be4}">
                            <labels>
                              <label description="ZIP/Postal Code" languagecode="1033" />
                            </labels>
                            <control id="address1_postalcode" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_postalcode" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{f16a045d-c30d-4189-ac3d-b5e8172e47da}">
                            <labels>
                              <label description="Street 1" languagecode="1033" />
                            </labels>
                            <control id="address1_line1" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_line1" />
                          </cell>
                          <cell id="{a109b15d-d168-4341-93bd-c9e10e31f09e}">
                            <labels>
                              <label description="Country/Region" languagecode="1033" />
                            </labels>
                            <control id="address1_country" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_country" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{ad2b2774-d7bd-4d74-b79e-61af77b32dff}">
                            <labels>
                              <label description="Street 2" languagecode="1033" />
                            </labels>
                            <control id="address1_line2" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_line2" />
                          </cell>
                          <cell id="{10de592f-5f18-4f33-871c-08d978f8dfa5}">
                            <labels>
                              <label description="Phone" languagecode="1033" />
                            </labels>
                            <control id="address1_telephone1" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_telephone1" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{8dd7a155-244b-4f29-92bd-49998eb038d7}">
                            <labels>
                              <label description="Street 3" languagecode="1033" />
                            </labels>
                            <control id="address1_line3" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_line3" />
                          </cell>
                          <cell id="{e295725e-7f59-45a6-8a51-cd43bdac0784}">
                            <labels>
                              <label description="Address Type" languagecode="1033" />
                            </labels>
                            <control id="address1_addresstypecode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="address1_addresstypecode" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{1eb0adf5-95f7-4881-b41b-0885c0d30d76}">
                            <labels>
                              <label description="City" languagecode="1033" />
                            </labels>
                            <control id="address1_city" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_city" />
                          </cell>
                          <cell id="{179d22db-c87b-49c9-9019-070baf408233}">
                            <labels>
                              <label description="Shipping Method" languagecode="1033" />
                            </labels>
                            <control id="address1_shippingmethodcode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="address1_shippingmethodcode" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{f36d99a5-849a-452e-b37a-6349fad82853}">
                            <labels>
                              <label description="State/Province" languagecode="1033" />
                            </labels>
                            <control id="address1_stateorprovince" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="address1_stateorprovince" />
                          </cell>
                          <cell id="{0b16fa92-f800-49a7-9838-5468ab0c05f1}">
                            <labels>
                              <label description="Freight Terms" languagecode="1033" />
                            </labels>
                            <control id="address1_freighttermscode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="address1_freighttermscode" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                  </sections>
                </tab>
                <tab id="{cafbf41a-42bf-4665-8562-1e37017eba69}" IsUserDefined="0">
                  <labels>
                    <label description="Details" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="true" showbar="true" id="{a778d498-3bf2-4c33-85e2-7730d8ae126b}" IsUserDefined="0">
                      <labels>
                        <label description="Professional Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{c21cf98d-7d3a-4e4c-815c-5fd6de4b89d7}">
                            <labels>
                              <label description="Department" languagecode="1033" />
                            </labels>
                            <control id="department" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="department" />
                          </cell>
                          <cell id="{80128d81-f664-47c0-b348-d176679224b9}">
                            <labels>
                              <label description="Assistant" languagecode="1033" />
                            </labels>
                            <control id="assistantname" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="assistantname" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{c545928a-8081-4b80-a21e-8a3c405dd0b0}">
                            <labels>
                              <label description="Role" languagecode="1033" />
                            </labels>
                            <control id="accountrolecode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="accountrolecode" />
                          </cell>
                          <cell id="{cb2ae5b6-2919-439e-ab41-327d880272a8}">
                            <labels>
                              <label description="Assistant Phone" languagecode="1033" />
                            </labels>
                            <control id="assistantphone" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="assistantphone" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{452ca48e-8c7b-4a96-81f7-387d0c9b033c}">
                            <labels>
                              <label description="Manager" languagecode="1033" />
                            </labels>
                            <control id="managername" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="managername" />
                          </cell>
                          <cell id="{4e341481-0003-4b9a-a89b-68f90c948521}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                        <row>
                          <cell id="{d336a999-cdf1-4109-bcbe-db27ec0b7e72}">
                            <labels>
                              <label description="Manager Phone" languagecode="1033" />
                            </labels>
                            <control id="managerphone" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="managerphone" />
                          </cell>
                          <cell id="{8ce6268f-88bc-4f9b-8531-22ea945f4638}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{518cc50e-1350-4b4b-a056-fc3c0e7d36d7}" IsUserDefined="0">
                      <labels>
                        <label description="Personal Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{9748b178-14ab-49af-8985-c02de8892720}">
                            <labels>
                              <label description="Gender" languagecode="1033" />
                            </labels>
                            <control id="gendercode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="gendercode" />
                          </cell>
                          <cell id="{b2adc634-723e-4e87-b8f1-b62e3cf1fad1}">
                            <labels>
                              <label description="Birthday" languagecode="1033" />
                            </labels>
                            <control id="birthdate" classid="{5B773807-9FB2-42db-97C3-7A91EFF8ADFF}" datafieldname="birthdate" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{acac3dbc-a956-459f-9dba-8c3f5ce3777a}">
                            <labels>
                              <label description="Marital Status" languagecode="1033" />
                            </labels>
                            <control id="familystatuscode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="familystatuscode" />
                          </cell>
                          <cell id="{4435fdd5-a586-436e-882c-58b516484ae1}">
                            <labels>
                              <label description="Anniversary" languagecode="1033" />
                            </labels>
                            <control id="anniversary" classid="{5B773807-9FB2-42db-97C3-7A91EFF8ADFF}" datafieldname="anniversary" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{4bd24018-9343-41e8-b119-66c87186ef1c}">
                            <labels>
                              <label description="Spouse/Partner Name" languagecode="1033" />
                            </labels>
                            <control id="spousesname" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="spousesname" />
                          </cell>
                          <cell id="{4fbd33df-9d2c-4df4-a9e5-9d7219087f75}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{e165b345-b7ce-4c73-a508-0f42cbf6dd53}" IsUserDefined="0" height="auto">
                      <labels>
                        <label description="Description" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" showlabel="false" rowspan="5" auto="true" id="{c0a08372-d225-411f-87e4-14554329507a}">
                            <labels>
                              <label description="Description" languagecode="1033" />
                            </labels>
                            <control id="description" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" datafieldname="description" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row height="auto" />
                      </rows>
                    </section>
                  </sections>
                </tab>
                <tab id="{0dd7233e-247b-4eef-a71b-0185da6d16ad}" IsUserDefined="0">
                  <labels>
                    <label description="Administration" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" id="{c3e86ffb-2b8b-4c56-877f-67bdaa5a7363}" IsUserDefined="0">
                      <labels>
                        <label description="Internal Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{2329843a-6ab4-4431-8a2b-101f3272e104}">
                            <labels>
                              <label description="Owner" languagecode="1033" />
                            </labels>
                            <control id="ownerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="ownerid" />
                          </cell>
                          <cell id="{5aa3e6b4-439c-4220-84f6-34165bbc5899}">
                            <labels>
                              <label description="Originating Lead" languagecode="1033" />
                            </labels>
                            <control id="originatingleadid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="originatingleadid" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{0738bc1c-9226-486d-9258-9b6fc75cbaa7}" IsUserDefined="0">
                      <labels>
                        <label description="Billing Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{200a7ca9-4a7e-4462-8f22-9a13ce27bd46}">
                            <labels>
                              <label description="Credit Limit" languagecode="1033" />
                            </labels>
                            <control id="creditlimit" classid="{533B9E00-756B-4312-95A0-DC888637AC78}" datafieldname="creditlimit" />
                          </cell>
                          <cell id="{cf9708ff-df37-4fda-86c3-79896dbeaa2c}">
                            <labels>
                              <label description="Payment Terms" languagecode="1033" />
                            </labels>
                            <control id="paymenttermscode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="paymenttermscode" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{86ed48db-8fdc-4880-aa78-1532af6060ee}">
                            <labels>
                              <label description="Credit Hold" languagecode="1033" />
                            </labels>
                            <control id="creditonhold" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="creditonhold" />
                          </cell>
                          <cell id="{bc9c8be1-08bc-47ad-8868-1e212574acbd}">
                            <labels>
                              <label description="Price List" languagecode="1033" />
                            </labels>
                            <events>
                              <event name="setadditionalparams" application="true" active="true">
                                <script><![CDATA[
																	var oLookup = event.srcElement;

																	if(IsNull(crmForm.transactioncurrencyid.DataValue))
																	{
																		oLookup.lookupclass="BasicPriceLevel";
																	}
																	else
																	{
																		oLookup.lookupclass="PriceLevelByCurrency";
																		AddTransactionCurrencyParam(oLookup);
																	}
																	]]></script>
                                <dependencies>
                                  <dependency id="transactioncurrencyid" />
                                </dependencies>
                              </event>
                            </events>
                            <control id="defaultpricelevelid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="defaultpricelevelid" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{fa46a68d-a6b2-4cc1-9d00-4abd1d46c8f4}" IsUserDefined="0">
                      <labels>
                        <label description="Contact Methods" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{18a3ffc9-8174-48a3-9317-78d287ffccbd}">
                            <labels>
                              <label description="Preferred" languagecode="1033" />
                            </labels>
                            <control id="preferredcontactmethodcode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="preferredcontactmethodcode" />
                          </cell>
                          <cell id="{9a8793a2-15ba-4963-aee6-901bce1466dc}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{b2bbf0b6-c969-4b89-8e50-786f268ff3b9}">
                            <labels>
                              <label description="E-mail" languagecode="1033" />
                            </labels>
                            <control id="donotemail" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="donotemail" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{e19e07c7-983c-4abe-bae3-8f6428411493}">
                            <labels>
                              <label description="Bulk E-mail" languagecode="1033" />
                            </labels>
                            <control id="donotbulkemail" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="donotbulkemail" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{c2f59461-c812-4b37-9fa8-45cfb6e3e2bb}">
                            <labels>
                              <label description="Phone" languagecode="1033" />
                            </labels>
                            <control id="donotphone" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="donotphone" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{38287f59-6d80-4089-8537-ca504c5019a9}">
                            <labels>
                              <label description="Fax" languagecode="1033" />
                            </labels>
                            <control id="donotfax" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="donotfax" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{acf821a9-3afe-46bf-921e-1250ee3bb926}">
                            <labels>
                              <label description="Mail" languagecode="1033" />
                            </labels>
                            <control id="donotpostalmail" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="donotpostalmail" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="0" id="{137f7111-6a68-49ec-bf7e-608e65cb9c45}" IsUserDefined="0" layout="varheight" columns="11">
                      <labels>
                        <label description="Marketing Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{8615167e-21fe-4aa0-9eb2-5f69e6e4408a}">
                            <labels>
                              <label description="Send Marketing Materials" languagecode="1033" />
                            </labels>
                            <control id="donotsendmm" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="donotsendmm" disabled="false" />
                          </cell>
                          <cell id="{3a8532a5-05f8-40ef-b4c6-949661bd120f}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{af160f54-cea1-45fb-bcc2-1d177d9c6fe9}">
                            <labels>
                              <label description="Last Date Included in Campaign" languagecode="1033" />
                            </labels>
                            <control id="lastusedincampaign" classid="{5B773807-9FB2-42db-97C3-7A91EFF8ADFF}" datafieldname="lastusedincampaign" disabled="true" />
                          </cell>
                          <cell id="{8cda6786-8bf4-4f52-bfdf-4c7f5c6c20d6}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" id="{12ea1501-295d-423d-acf9-5a1257746c83}" IsUserDefined="0">
                      <labels>
                        <label description="Service Preferences" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{93aa5433-f813-45a0-8e60-88c4940f0d99}">
                            <labels>
                              <label description="Preferred Time" languagecode="1033" />
                            </labels>
                            <control id="preferredappointmenttimecode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="preferredappointmenttimecode" />
                          </cell>
                          <cell id="{150fe3ca-65fc-4c67-9797-80bd66a9b3bc}">
                            <labels>
                              <label description="Preferred Day" languagecode="1033" />
                            </labels>
                            <control id="preferredappointmentdaycode" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="preferredappointmentdaycode" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{48e78793-a270-4cea-b252-525d3fc20923}">
                            <labels>
                              <label description="Preferred Service" languagecode="1033" />
                            </labels>
                            <control id="preferredserviceid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="preferredserviceid" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{21d5ede7-b984-4a16-8464-831dbc83ea15}">
                            <labels>
                              <label description="Preferred Facility/Equipment" languagecode="1033" />
                            </labels>
                            <control id="preferredequipmentid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="preferredequipmentid" />
                          </cell>
                        </row>
                        <row>
                          <cell colspan="2" id="{e7c37018-e855-4745-9e6b-1ad431651ca0}">
                            <labels>
                              <label description="Preferred User" languagecode="1033" />
                            </labels>
                            <control id="preferredsystemuserid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="preferredsystemuserid" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                  </sections>
                </tab>
                <tab id="{40079fc1-c033-dd11-8add-0003ff34d4bf}" IsUserDefined="1" locklevel="0">
                  <labels>
                    <label description="CSP" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="true" showbar="true" locklevel="0" id="{a0e75fcb-c033-dd11-8add-0003ff34d4bf}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="Citizen information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{d7c248ad-5931-4746-beed-23e858e33043}">
                            <labels>
                              <label description="User name" languagecode="1033" />
                            </labels>
                            <control id="csp_username" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="csp_username" disabled="false" />
                          </cell>
                          <cell showlabel="true" colspan="1" id="{12b82894-3f53-4c5b-9777-81db6280440b}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="2" id="{cbe887bf-64b6-4c0a-a5a2-26843b5712c6}">
                            <labels>
                              <label description="CSP enabled" languagecode="1033" />
                            </labels>
                            <control id="csp_enabled" classid="{67FAC785-CD58-4f9f-ABB3-4B7DDC6ED5ED}" datafieldname="csp_enabled" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="2" id="{89e15840-277a-49b5-8adf-4f46a4b43099}">
                            <labels>
                              <label description="CSP Picture" languagecode="1033" />
                            </labels>
                            <control id="csp_picture" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="csp_picture" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{6fcfa8db-1b3a-4a9e-aab9-1e22ddf22ee8}">
                            <labels>
                              <label description="Number of Children" languagecode="1033" />
                            </labels>
                            <control id="numberofchildren" classid="{C6D124CA-7EDA-4a60-AEA9-7FB8D318B68F}" datafieldname="numberofchildren" disabled="false" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{f08c11c3-bfdf-44f9-9541-9d1584e06796}">
                            <labels>
                              <label description="Elderly relatives" languagecode="1033" />
                            </labels>
                            <control id="csp_elderlyrelatives" classid="{C6D124CA-7EDA-4a60-AEA9-7FB8D318B68F}" datafieldname="csp_elderlyrelatives" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="0" id="{b0619b08-bb25-dd11-87a4-0003ff90cc16}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115" height="auto">
                      <labels>
                        <label description="Virtual Earth" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{83e272f1-784a-4c01-85b1-3afb1dab9cc3}">
                            <labels>
                              <label description="Latitude" languagecode="1033" />
                            </labels>
                            <control id="address1_latitude" classid="{0D2C745A-E5A8-4c8f-BA63-C6D3BB604660}" datafieldname="address1_latitude" disabled="false" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{c8c82be8-2014-444c-923e-9bae9a4c3a47}">
                            <labels>
                              <label description="Longitude" languagecode="1033" />
                            </labels>
                            <control id="address1_longitude" classid="{0D2C745A-E5A8-4c8f-BA63-C6D3BB604660}" datafieldname="address1_longitude" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell showlabel="false" auto="true" rowspan="5" colspan="2" id="{9d88deec-c8cb-4280-9eec-b90e5c2d68dd}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                            <control id="IFRAME_virtualearthmap" classid="{FD2A7985-3187-444e-908D-6624B21F69C0}">
                              <parameters>
                                <Url>/isv/csp/citizenmap.aspx</Url>
                                <PassParameters>true</PassParameters>
                                <Security>false</Security>
                                <Scrolling>auto</Scrolling>
                                <Border>true</Border>
                              </parameters>
                            </control>
                            <events>
                              <event name="onload" application="0">
                                <script><![CDATA[ ]]></script>
                                <dependencies />
                              </event>
                            </events>
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row height="auto" />
                      </rows>
                    </section>
                  </sections>
                </tab>
                <tab id="{A6C643C6-E98F-4738-812F-0B7F7FFC80F7}" IsUserDefined="0">
                  <labels>
                    <label description="Notes" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="true" showbar="true" locklevel="1" id="{B798FA27-F9FC-4580-988C-0BA75C444488}" IsUserDefined="0" height="auto">
                      <labels>
                        <label description="Notes" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" showlabel="false" rowspan="5" auto="true" id="{a9d8114e-4852-4462-84a3-f4b398a4fe71}">
                            <labels>
                              <label description="Note Text" languagecode="1033" />
                            </labels>
                            <control id="notescontrol" classid="{06375649-c143-495e-a496-c962e5b4488e}" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row height="auto" />
                      </rows>
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
          <entity objecttypecode="2" name="contact">
            <form type="preview" id="{89be0b78-2e37-433c-8f73-7301e8e4144b}">
              <tabs showlabels="false">
                <tab name="general" verticallayout="true" id="{d68a864d-5751-49a7-b442-c111d3d66156}" IsUserDefined="0">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section name="information" id="{eb67f68d-6a4f-4c68-9214-e7713d2d843d}" IsUserDefined="0" showlabel="false" showbar="false">
                      <labels>
                        <label description="Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell id="{56aca31d-5d4c-44d0-bc51-9e556eb9748c}">
                            <labels>
                              <label description="Street 1" languagecode="1033" />
                            </labels>
                            <control id="address1_line1" datafieldname="address1_line1" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                          <cell id="{6168a311-9032-4832-bc3d-5db76bbccc53}">
                            <labels>
                              <label description="E-mail" languagecode="1033" />
                            </labels>
                            <control id="emailaddress1" datafieldname="emailaddress1" classid="{ADA2203E-B4CD-49be-9DDF-234642B43B52}" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{ccfb3477-c36f-4f32-ac10-46cce1e671f3}">
                            <labels>
                              <label description="Street 2" languagecode="1033" />
                            </labels>
                            <control id="address1_line2" datafieldname="address1_line2" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                          <cell id="{8f29183d-f66a-4c7c-b0de-1711a744e12f}">
                            <labels>
                              <label description="Home Phone" languagecode="1033" />
                            </labels>
                            <control id="telephone2" datafieldname="telephone2" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{26bcffce-350b-420a-981f-5c6eb1b23799}">
                            <labels>
                              <label description="City" languagecode="1033" />
                            </labels>
                            <control id="address1_city" datafieldname="address1_city" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                          <cell id="{5c49f607-2ea2-481c-8d97-87ee21c39c5e}">
                            <labels>
                              <label description="Mobile Phone" languagecode="1033" />
                            </labels>
                            <control id="mobilephone" datafieldname="mobilephone" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{8068c5f7-be52-4d9d-acc1-1fd74761ebbe}">
                            <labels>
                              <label description="State/Province" languagecode="1033" />
                            </labels>
                            <control id="address1_stateorprovince" datafieldname="address1_stateorprovince" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                          <cell id="{b0389d08-1897-43f3-a5d0-700a0ea7b283}">
                            <labels>
                              <label description="Fax" languagecode="1033" />
                            </labels>
                            <control id="fax" datafieldname="fax" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                        </row>
                        <row>
                          <cell id="{a571c4bb-e4a7-41d5-8172-f5784f45e85f}">
                            <labels>
                              <label description="ZIP/Postal Code" languagecode="1033" />
                            </labels>
                            <control id="address1_postalcode" datafieldname="address1_postalcode" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" />
                          </cell>
                          <cell id="{973524b1-d5cb-4ea8-8f92-0d93e00139c9}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                          </cell>
                        </row>
                      </rows>
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
        </forms>
      </FormXml>
      <SavedQueries>
        <savedqueries entity="SavedQuery" morerecords="0" paging-cookie="" version="3.0">
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001004}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{49164494-2F8E-4755-9CFD-064643E5C328}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="emailaddress1" width="150" />
                  <cell name="parentcustomerid" width="150" />
                  <cell name="telephone1" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <order attribute="fullname" descending="false" />
                  <attribute name="parentcustomerid" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <attribute name="telephone1" />
                  <attribute name="emailaddress1" />
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Active Contacts" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset version="3.0">
                <column>contactid</column>
                <column>fullname</column>
                <column>lastusedincampaign</column>
                <column>telephone1</column>
                <column>address1_city</column>
                <ascend>fullname</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{927E6CD8-B3ED-4C20-A154-B8BD8A86D172}</savedqueryid>
            <queryapi>CRMContact.RetrieveContactNoCampaignSent</queryapi>
            <savedqueryidunique>{677947D6-FD76-4616-AB3E-7516913E46FD}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="lastusedincampaign" width="150" />
                  <cell name="telephone1" width="100" />
                  <cell name="address1_city" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <LocalizedNames>
              <LocalizedName description="Contacts: No Campaign Activities in Last 3 Months" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset version="3.0">
                <column>contactid</column>
                <column>fullname</column>
                <column>parentcustomerid</column>
                <column>telephone1</column>
                <ascend>fullname</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{9818766E-7172-4D59-9279-013835C3DECD}</savedqueryid>
            <queryapi>List.RetrieveContactsNotPlacedOrders</queryapi>
            <savedqueryidunique>{56786C8A-4C90-4A7B-B635-F83C948926BB}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="parentcustomerid" width="150" />
                  <cell name="telephone1" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <LocalizedNames>
              <LocalizedName description="Contacts: No Orders in Last 6 Months" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{9C241A33-CA0B-4E50-AE92-DB780D5B2A12}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{7077C519-6F45-4E8D-9BE0-49F159C14E2F}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="telephone1" width="100" />
                  <cell name="address1_city" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="address1_city" />
                  <order attribute="fullname" descending="false" />
                  <attribute name="telephone1" />
                  <link-entity name="activityparty" from="partyid" to="contactid" link-type="inner">
                    <link-entity name="campaignresponse" from="activityid" to="activityid" link-type="inner">
                      <filter type="and">
                        <condition attribute="receivedon" operator="last-x-months" value="6" />
                      </filter>
                    </link-entity>
                    <filter type="and">
                      <condition attribute="participationtypemask" operator="eq" value="11" />
                    </filter>
                  </link-entity>
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Contacts: Responded to Campaigns in Last 6 Months" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001033}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{47657399-5D4C-46F0-812E-7A6801BE415D}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="parentcustomerid" width="150" />
                  <cell name="telephone1" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <order attribute="fullname" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                  <attribute name="parentcustomerid" />
                  <attribute name="telephone1" />
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Inactive Contacts" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001003}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{81C24988-A0A4-406F-B974-25E4769188FD}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="emailaddress1" width="150" />
                  <cell name="parentcustomerid" width="150" />
                  <cell name="telephone1" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <order attribute="fullname" descending="false" />
                  <attribute name="parentcustomerid" />
                  <filter type="and">
                    <condition attribute="ownerid" operator="eq-userid" />
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <attribute name="telephone1" />
                  <attribute name="emailaddress1" />
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="My Active Contacts" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000000666400}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{735D72D1-7DC8-4D71-B1B9-3B639AB295F1}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="lastname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="telephone1" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="1">1</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="telephone1" />
                  <attribute name="contactid" />
                  <order attribute="fullname" descending="false" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Contacts Advanced Find View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset version="3.0">
                <column>fullname</column>
                <column>telephone1</column>
                <column>contactid</column>
                <ascend>fullname</ascend>
                <filter type="and">
                  <condition column="statecode" value="0" operator="eq" />
                </filter>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{00000000-0000-0000-00AA-000010001210}</savedqueryid>
            <queryapi>AUTO</queryapi>
            <savedqueryidunique>{AD86767E-4F24-4C02-B460-70EC49909AB9}</savedqueryidunique>
            <layoutxml>
              <grid name="contacts" object="2" jump="lastname" select="1" icon="1" preview="1">
                <row name="contact" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="telephone1" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="2">2</querytype>
            <LocalizedNames>
              <LocalizedName description="Contact Associated View" languagecode="1033" />
            </LocalizedNames>
            <Descriptions>
              <Description description="Displays contact information in the detail form of any associated account, opportunity, quote, order, or invoice record. This view is in Contacts and Other Contacts side tabs." languagecode="1033" />
            </Descriptions>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="Yes">1</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{8DF19B44-A073-40C3-9D6D-EE1355D8C4BA}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{11C1922B-D97A-4D43-8B85-76EC56841FCA}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="parentcustomerid" width="150" />
                  <cell name="address1_city" width="100" />
                  <cell name="address1_telephone1" width="125" />
                  <cell name="telephone1" width="125" />
                  <cell name="emailaddress1" width="200" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="4">4</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="parentcustomerid" />
                  <attribute name="address1_city" />
                  <attribute name="address1_telephone1" />
                  <attribute name="telephone1" />
                  <attribute name="emailaddress1" />
                  <attribute name="contactid" />
                  <order attribute="fullname" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="fullname" operator="like" value="{0}" />
                    <condition attribute="firstname" operator="like" value="{0}" />
                    <condition attribute="lastname" operator="like" value="{0}" />
                    <condition attribute="middlename" operator="like" value="{0}" />
                    <condition attribute="emailaddress1" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Quick Find Active Contacts" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{33A05713-9D37-4CE8-B41F-BC515F426271}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{E814C8F4-036D-4359-8C90-2EF9F5A6842B}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="telephone1" width="100" />
                  <cell name="address1_city" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="32">32</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="address1_city" />
                  <order attribute="fullname" descending="false" />
                  <attribute name="telephone1" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Active Members" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{2F0D0EDE-D356-4B1E-83BD-E978F10E3EEB}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{DC9CA747-58FA-4DB4-8752-7DCC893A36BE}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="telephone1" width="100" />
                  <cell name="address1_city" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="32">32</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="address1_city" />
                  <order attribute="fullname" descending="false" />
                  <attribute name="telephone1" />
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="All Members" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{09963269-65E7-4F70-963F-A61EE495E705}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{00E47616-A7B9-49AD-A9BE-0EE6A1326089}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="telephone1" width="100" />
                  <cell name="address1_city" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="32">32</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="address1_city" />
                  <order attribute="fullname" descending="false" />
                  <attribute name="telephone1" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Inactive Members" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="Yes">1</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{AFDB8A51-9681-4CC9-AAA4-29449E5BC9E1}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{61ACC1D6-3192-4150-A92E-2F8B3CFDB1E1}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" icon="1" preview="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="telephone1" width="100" />
                  <cell name="address1_city" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="32">32</querytype>
            <fetchxml>
              <fetch version="1.0" output-format="xml-platform" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="address1_city" />
                  <order attribute="fullname" descending="false" />
                  <attribute name="telephone1" />
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="fullname" operator="like" value="{0}" />
                  </filter>
                  <attribute name="contactid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Quick Find Marketing List Members" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="2">2</returnedtypecode>
            <savedqueryid>{A2D479C5-53E3-4C69-ADDD-802327E67A0D}</savedqueryid>
            <queryapi />
            <savedqueryidunique>{5C6A7685-F717-4091-8E30-7FFEFCB29BE9}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="2" jump="fullname" select="1" preview="0" icon="1">
                <row name="result" id="contactid">
                  <cell name="fullname" width="300" />
                  <cell name="parentcustomerid" width="150" />
                  <cell name="address1_city" width="100" />
                  <cell name="address1_telephone1" width="125" />
                  <cell name="telephone1" width="125" />
                  <cell name="emailaddress1" width="200" />
                  <cell name="fax" ishidden="1" width="100" />
                  <cell name="address1_name" ishidden="1" width="100" />
                  <cell name="address1_fax" ishidden="1" width="100" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="64">64</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="contact">
                  <attribute name="fullname" />
                  <attribute name="parentcustomerid" />
                  <attribute name="address1_city" />
                  <attribute name="address1_telephone1" />
                  <attribute name="telephone1" />
                  <attribute name="emailaddress1" />
                  <attribute name="contactid" />
                  <attribute name="fax" />
                  <attribute name="address1_name" />
                  <attribute name="address1_fax" />
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="fullname" operator="like" value="{0}" />
                    <condition attribute="firstname" operator="like" value="{0}" />
                    <condition attribute="lastname" operator="like" value="{0}" />
                    <condition attribute="middlename" operator="like" value="{0}" />
                    <condition attribute="emailaddress1" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Contacts Lookup View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
        </savedqueries>
      </SavedQueries>
      <Strings>
        <Strings ResourceKey="Error_Message_0x80040503" />
        <Strings ResourceKey="Error_Message_0x80040508" />
        <Strings ResourceKey="Error_Message_0x80040509" />
        <Strings ResourceKey="Error_Message_0x8004050a" />
        <Strings ResourceKey="Error_Message_0x80040513" />
        <Strings ResourceKey="Error_Message_0x80040808" />
        <Strings ResourceKey="OfflineData_Dlg_Desc_LightClient" />
        <Strings ResourceKey="Tab_Label_OtherContacts" />
        <Strings ResourceKey="Area_Label_OtherContacts" />
        <Strings ResourceKey="Email_ResolveAddress_Description" />
        <Strings ResourceKey="Sales_DetailedDesc" />
        <Strings ResourceKey="Homepage_Label_nav_conts" />
        <Strings ResourceKey="Customer_Service_Description" />
        <Strings ResourceKey="Sales_Description" />
        <Strings ResourceKey="Marketing_Description" />
        <Strings ResourceKey="Customers_Description" />
        <Strings ResourceKey="08308B34-B2C4-41d4-8204-41097D8CFB11" />
        <Strings ResourceKey="Web.Activities.email.resolve.aspx_156" />
        <Strings ResourceKey="Web.Help.find.aspx_74" />
        <Strings ResourceKey="MA.CampaignResponse.Dialogs.conv_response.aspx_ConvertExistingLead_Description" />
        <Strings ResourceKey="MA.CampaignResponse.Dialogs.conv_response.aspx_Customer_Description" />
        <Strings ResourceKey="Alert_Customer_Must_Be_Supplied" />
        <Strings ResourceKey="Error_Title_0x8004032e" />
        <Strings ResourceKey="Error_Message_0x80040325" />
        <Strings ResourceKey="Error_Message_0x8004032a" />
        <Strings ResourceKey="Error_Message_0x8004032e" />
        <Strings ResourceKey="Outlook_ABP_Message_0x1C2B" />
        <Strings ResourceKey="Outlook_Message_0x19b" />
        <Strings ResourceKey="Outlook_Message_0x3e8" />
        <Strings ResourceKey="Outlook_Message_0x3ef" />
        <Strings ResourceKey="RelatedInformation_Tips_account_primarycontactid" />
        <Strings ResourceKey="RelatedInformation_Tips_contact_originatingleadid" />
        <Strings ResourceKey="RelatedInformation_Tips_contact_parentcustomerid" />
        <Strings ResourceKey="RelatedInformation_Tips_contact_preferredserviceid" />
        <Strings ResourceKey="RelatedInformation_Tips_contact_preferredequipmentid" />
        <Strings ResourceKey="RelatedInformation_Tips_contact_preferredsystemuserid" />
        <Strings ResourceKey="RelatedInformation_Tips_opportunity_customerid" />
        <Strings ResourceKey="RelatedInformation_Tips_campaignresponse_customer" />
        <Strings ResourceKey="RelatedInformation_Tips_campaignresponse_partner" />
        <Strings ResourceKey="RelatedInformation_Tips_quote_customerid" />
        <Strings ResourceKey="RelatedInformation_Tips_salesorder_customerid" />
        <Strings ResourceKey="RelatedInformation_Tips_invoice_customerid" />
        <Strings ResourceKey="RelatedInformation_Tips_serviceappointment_DayOfWeek" />
        <Strings ResourceKey="RelatedInformation_Tips_serviceappointment_SearchStartTime" />
        <Strings ResourceKey="RelatedInformation_Tips_serviceappointment_serviceid" />
        <Strings ResourceKey="RelatedInformation_Tips_serviceappointment_customers" />
        <Strings ResourceKey="RelatedInformation_Tips_appointment_regardingobjectid" />
        <Strings ResourceKey="Tab_Label_SubContacts" />
        <Strings ResourceKey="Web.Tools.personalsettings.dialogs.personalsettings.UseCrmFormForContactLabel" />
        <Strings ResourceKey="Web.Tools.personalsettings.dialogs.personalsettings.SyncContactCompanyDescription" />
        <Strings ResourceKey="Web.Tools.personalsettings.dialogs.personalsettings.aspx_305" />
        <Strings ResourceKey="Web.Tools.personalsettings.dialogs.personalsettings.OutlookSyncSettingsTitle" />
        <Strings ResourceKey="Web.Tools.personalsettings.dialogs.personalsettings.htm_188" />
        <Strings ResourceKey="RelationshipRole_Help" />
        <Strings ResourceKey="Web._grid.cmds.dlg_delete_account.aspx_54" />
        <Strings ResourceKey="Web._grid.cmds.bulkemail.xsl_18" />
        <Strings ResourceKey="UserSettingsAddressBookSyncDescription" />
        <Strings ResourceKey="UserSettingsAddressBookContactSyncLable" />
        <Strings ResourceKey="UserSettingsAddressBookContactSyncOption1" />
        <Strings ResourceKey="UserSettingsAddressBookContactSyncOption2" />
        <Strings ResourceKey="Lead_SubArea_Description" />
        <Strings ResourceKey="Opportunity_SubArea_Description" />
      </Strings>
    </Entity>
  </Entities>
  <Roles>
  </Roles>
  <Workflows>
  </Workflows>
  <EntityMaps>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>opportunity</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>defaultpricelevelid</AttributeSource>
          <AttributeTarget>pricelevelid</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>lead</EntitySource>
      <EntityTarget>contact</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>address1_city</AttributeSource>
          <AttributeTarget>address1_city</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_country</AttributeSource>
          <AttributeTarget>address1_country</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line1</AttributeSource>
          <AttributeTarget>address1_line1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_name</AttributeSource>
          <AttributeTarget>address1_name</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_postalcode</AttributeSource>
          <AttributeTarget>address1_postalcode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line3</AttributeSource>
          <AttributeTarget>address1_line3</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line2</AttributeSource>
          <AttributeTarget>address1_line2</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_stateorprovince</AttributeSource>
          <AttributeTarget>address1_stateorprovince</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address2_country</AttributeSource>
          <AttributeTarget>address2_country</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address2_county</AttributeSource>
          <AttributeTarget>address2_county</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address2_fax</AttributeSource>
          <AttributeTarget>address2_fax</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address2_latitude</AttributeSource>
          <AttributeTarget>address2_latitude</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>description</AttributeSource>
          <AttributeTarget>description</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>donotfax</AttributeSource>
          <AttributeTarget>donotfax</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>donotemail</AttributeSource>
          <AttributeTarget>donotemail</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>ownerid</AttributeSource>
          <AttributeTarget>ownerid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>mobilephone</AttributeSource>
          <AttributeTarget>mobilephone</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>fax</AttributeSource>
          <AttributeTarget>fax</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>firstname</AttributeSource>
          <AttributeTarget>firstname</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>donotpostalmail</AttributeSource>
          <AttributeTarget>donotpostalmail</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>donotphone</AttributeSource>
          <AttributeTarget>donotphone</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>emailaddress2</AttributeSource>
          <AttributeTarget>emailaddress2</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>emailaddress3</AttributeSource>
          <AttributeTarget>emailaddress3</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>emailaddress1</AttributeSource>
          <AttributeTarget>emailaddress1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>jobtitle</AttributeSource>
          <AttributeTarget>jobtitle</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>lastname</AttributeSource>
          <AttributeTarget>lastname</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>leadsourcecode</AttributeSource>
          <AttributeTarget>leadsourcecode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>websiteurl</AttributeSource>
          <AttributeTarget>websiteurl</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>telephone3</AttributeSource>
          <AttributeTarget>telephone3</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>telephone1</AttributeSource>
          <AttributeTarget>telephone1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>telephone2</AttributeSource>
          <AttributeTarget>telephone2</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>pager</AttributeSource>
          <AttributeTarget>pager</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>preferredcontactmethodcode</AttributeSource>
          <AttributeTarget>preferredcontactmethodcode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>salutation</AttributeSource>
          <AttributeTarget>salutation</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>donotsendmm</AttributeSource>
          <AttributeTarget>donotsendmm</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>donotbulkemail</AttributeSource>
          <AttributeTarget>donotbulkemail</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>yomifirstname</AttributeSource>
          <AttributeTarget>yomifirstname</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>yomilastname</AttributeSource>
          <AttributeTarget>yomilastname</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>yomimiddlename</AttributeSource>
          <AttributeTarget>yomimiddlename</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>customerrelationship</EntityTarget>
      <AttributeMaps />
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>contract</EntityTarget>
      <AttributeMaps />
    </EntityMap>
    <EntityMap>
      <EntitySource>account</EntitySource>
      <EntityTarget>contact</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>paymenttermscode</AttributeSource>
          <AttributeTarget>paymenttermscode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>telephone1</AttributeSource>
          <AttributeTarget>telephone1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_addresstypecode</AttributeSource>
          <AttributeTarget>address1_addresstypecode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_city</AttributeSource>
          <AttributeTarget>address1_city</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_country</AttributeSource>
          <AttributeTarget>address1_country</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_county</AttributeSource>
          <AttributeTarget>address1_county</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line1</AttributeSource>
          <AttributeTarget>address1_line1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line2</AttributeSource>
          <AttributeTarget>address1_line2</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line3</AttributeSource>
          <AttributeTarget>address1_line3</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_name</AttributeSource>
          <AttributeTarget>address1_name</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_postalcode</AttributeSource>
          <AttributeTarget>address1_postalcode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_postofficebox</AttributeSource>
          <AttributeTarget>address1_postofficebox</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_shippingmethodcode</AttributeSource>
          <AttributeTarget>address1_shippingmethodcode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_stateorprovince</AttributeSource>
          <AttributeTarget>address1_stateorprovince</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_telephone1</AttributeSource>
          <AttributeTarget>address1_telephone1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_freighttermscode</AttributeSource>
          <AttributeTarget>address1_freighttermscode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>defaultpricelevelid</AttributeSource>
          <AttributeTarget>defaultpricelevelid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>transactioncurrencyid</AttributeSource>
          <AttributeTarget>transactioncurrencyid</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>invoice</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>paymenttermscode</AttributeSource>
          <AttributeTarget>paymenttermscode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>defaultpricelevelid</AttributeSource>
          <AttributeTarget>pricelevelid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_shippingmethodcode</AttributeSource>
          <AttributeTarget>shippingmethodcode</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>contact</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>mobilephone</AttributeSource>
          <AttributeTarget>mobilephone</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>telephone2</AttributeSource>
          <AttributeTarget>telephone2</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>telephone1</AttributeSource>
          <AttributeTarget>telephone1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_addresstypecode</AttributeSource>
          <AttributeTarget>address1_addresstypecode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_telephone1</AttributeSource>
          <AttributeTarget>address1_telephone1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_stateorprovince</AttributeSource>
          <AttributeTarget>address1_stateorprovince</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_shippingmethodcode</AttributeSource>
          <AttributeTarget>address1_shippingmethodcode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_name</AttributeSource>
          <AttributeTarget>address1_name</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_postofficebox</AttributeSource>
          <AttributeTarget>address1_postofficebox</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_postalcode</AttributeSource>
          <AttributeTarget>address1_postalcode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line3</AttributeSource>
          <AttributeTarget>address1_line3</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line2</AttributeSource>
          <AttributeTarget>address1_line2</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_county</AttributeSource>
          <AttributeTarget>address1_county</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_freighttermscode</AttributeSource>
          <AttributeTarget>address1_freighttermscode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_line1</AttributeSource>
          <AttributeTarget>address1_line1</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_country</AttributeSource>
          <AttributeTarget>address1_country</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_city</AttributeSource>
          <AttributeTarget>address1_city</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>fax</AttributeSource>
          <AttributeTarget>fax</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>defaultpricelevelid</AttributeSource>
          <AttributeTarget>defaultpricelevelid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>transactioncurrencyid</AttributeSource>
          <AttributeTarget>transactioncurrencyid</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>contractdetail</EntitySource>
      <EntityTarget>incident</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>productid</AttributeSource>
          <AttributeTarget>productid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>productserialnumber</AttributeSource>
          <AttributeTarget>productserialnumber</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>customerid</AttributeSource>
          <AttributeTarget>customerid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>contractid</AttributeSource>
          <AttributeTarget>contractid</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>incident</EntityTarget>
      <AttributeMaps />
    </EntityMap>
    <EntityMap>
      <EntitySource>account</EntitySource>
      <EntityTarget>incident</EntityTarget>
      <AttributeMaps />
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>quote</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>address1_freighttermscode</AttributeSource>
          <AttributeTarget>freighttermscode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>defaultpricelevelid</AttributeSource>
          <AttributeTarget>pricelevelid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>paymenttermscode</AttributeSource>
          <AttributeTarget>paymenttermscode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_shippingmethodcode</AttributeSource>
          <AttributeTarget>shippingmethodcode</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>salesorder</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>address1_shippingmethodcode</AttributeSource>
          <AttributeTarget>shippingmethodcode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>paymenttermscode</AttributeSource>
          <AttributeTarget>paymenttermscode</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>defaultpricelevelid</AttributeSource>
          <AttributeTarget>pricelevelid</AttributeTarget>
        </AttributeMap>
        <AttributeMap>
          <AttributeSource>address1_freighttermscode</AttributeSource>
          <AttributeTarget>freighttermscode</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
    <EntityMap>
      <EntitySource>contact</EntitySource>
      <EntityTarget>customeropportunityrole</EntityTarget>
      <AttributeMaps />
    </EntityMap>
    <EntityMap>
      <EntitySource>contract</EntitySource>
      <EntityTarget>incident</EntityTarget>
      <AttributeMaps>
        <AttributeMap>
          <AttributeSource>customerid</AttributeSource>
          <AttributeTarget>customerid</AttributeTarget>
        </AttributeMap>
      </AttributeMaps>
    </EntityMap>
  </EntityMaps>
  <EntityRelationships>
    <EntityRelationship Name="incident_activity_parties">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ActivityParty</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <ReferencingAttributeName>partyid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the party associated with the activity." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="partyid" requiredlevel="none" imemode="auto" lookupclass="alllookups" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Party" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_primary_leads">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Lead</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact with which the lead is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_ActivityPointers">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ActivityPointer</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="account_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Account</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>accountid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account with which the contact is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="accountid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="1">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_contracts_as_customer">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contract</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact specified for the contract." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="product_incidents">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Product</ReferencedEntityName>
      <ReferencingAttributeName>productid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the product associated with the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="productid" requiredlevel="none" imemode="auto" lookupclass="BasicProduct" lookupstyle="single" lookupbrowse="0" lookuptypes="1024">
        <displaynames>
          <displayname description="Product" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="opportunity_primary_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Opportunity</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact associated with the opportunity." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="invoice_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Invoice</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the invoice." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="quote_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Quote</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the quote." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Potential Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_customer_relationship_partner">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>CustomerRelationship</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>partnerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the secondary customer in the relationship." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="partnerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Party 2" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="CreatedContact_BulkOperationLogs">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>BulkOperationLog</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>createdobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object created by the bulk operation." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="createdobjectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Created Object" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_Phonecalls">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>PhoneCall</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the phone call activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="invoice_primary_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Invoice</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Restrict</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact associated with the invoice." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_Appointments">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Appointment</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the appointment is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_Tasks">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Task</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the task is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegardingForTask" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_ServiceAppointments">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ServiceAppointment</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>RemoveLink</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the service activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="team_incidents">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Team</ReferencedEntityName>
      <ReferencingAttributeName>owningteam</ReferencingAttributeName>
      <RelationshipDescription />
      <field name="owningteam" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="9">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contract_detail_cases">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>ContractDetail</ReferencedEntityName>
      <ReferencingAttributeName>contractdetailid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the specific contract line item that is referenced in the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contractdetailid" requiredlevel="none" imemode="auto" lookupclass="ContractItemWithAllotments" lookupstyle="single" lookupbrowse="0" lookuptypes="1011">
        <displaynames>
          <displayname description="Contract Line" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_QueueItem">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>QueueItem</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <ReferencingAttributeName>objectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the activity, case, or article in the queue." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="objectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Object" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lead_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Lead</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the account or contact associated with the lead." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="none" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_Annotation">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Annotation</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>objectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the note is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="objectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_master_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>masterid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the master contact for merge." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="masterid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames>
          <displayname description="Master ID" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_originating_lead">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Lead</ReferencedEntityName>
      <ReferencingAttributeName>originatingleadid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the lead from which the contact was created." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="originatingleadid" requiredlevel="none" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="4">
        <displaynames>
          <displayname description="Originating Lead" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_ServiceAppointments">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ServiceAppointment</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>RemoveLink</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the service activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="account_primary_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Account</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>primarycontactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the primary contact for the account." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="primarycontactid" requiredlevel="none" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames>
          <displayname description="Primary Contact" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_contactbase_createdby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>createdby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who created the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="createdby" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames>
          <displayname description="Created By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contract_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contract</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the contract." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_IncidentResolutions">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>IncidentResolution</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>incidentid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="incidentid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="112">
        <displaynames>
          <displayname description="Case" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_customer_relationship_customer">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>CustomerRelationship</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the primary customer in the relationship." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Party 1" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contract_billingcustomer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contract</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>billingcustomerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact to which the contract is to be billed." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="billingcustomerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Bill To Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_Emails">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Email</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the e-mail is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_AsyncOperations">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>AsyncOperation</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the system job is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_DuplicateMatchingRecord">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>DuplicateRecord</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <ReferencingAttributeName>duplicaterecordid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the potential duplicate record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="duplicaterecordid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Duplicate Record ID" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_contracts_as_billing_customer">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contract</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>billingcontactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact to whom the contract is to be billed." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="billingcontactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_CustomerAddress">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>CustomerAddress</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>parentid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the parent object with which the customer address is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="parentid" requiredlevel="required" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Parent" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_Phonecalls">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>PhoneCall</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the phone call activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="quote_primary_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Quote</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact associated with the quote." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="business_unit_incidents">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>BusinessUnit</ReferencedEntityName>
      <ReferencingAttributeName>owningbusinessunit</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the business unit that owns the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="owningbusinessunit" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="10">
        <displaynames>
          <displayname description="Owning Business Unit" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="business_unit_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>BusinessUnit</ReferencedEntityName>
      <ReferencingAttributeName>owningbusinessunit</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the business unit that owns the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="owningbusinessunit" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="10">
        <displaynames>
          <displayname description="Owning Business Unit" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="incident_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="none" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Contact" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="subject_incidents">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Subject</ReferencedEntityName>
      <ReferencingAttributeName>subjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the subject associated with the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="subjectid" requiredlevel="recommended" imemode="auto" lookupclass="BasicSubject" lookupstyle="subject" lookupbrowse="0" lookuptypes="129">
        <displaynames>
          <displayname description="Subject" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_parent_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>RemoveLink</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>parentcontactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the parent contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="parentcontactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_Annotation">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Annotation</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>objectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the note is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="objectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="account_as_customer_cases">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Account</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>accountid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account with which the case is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="accountid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="1">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="team_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Team</ReferencedEntityName>
      <ReferencingAttributeName>owningteam</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the team that owns the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="owningteam" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="9">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_customer_accounts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Account</ReferencedEntityName>
      <ReferencingAttributeName>parentcustomerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="parentcustomerid" requiredlevel="none" imemode="auto" lookupclass="ParentLookup" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Parent Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_DuplicateMatchingRecord">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>DuplicateRecord</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>duplicaterecordid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the potential duplicate record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="duplicaterecordid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Duplicate Record ID" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_incidentbase_createdby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>createdby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who created the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="createdby" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames>
          <displayname description="Created By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_ActivityPointers">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ActivityPointer</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="order_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>SalesOrder</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the account or contact associated with the order." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_BulkDeleteFailures">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>BulkDeleteFailure</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the record that can not be deleted." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Name" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="system_user_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>preferredsystemuserid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the system user preferred by the contact for scheduling service activities." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="preferredsystemuserid" requiredlevel="none" imemode="auto" lookupclass="SystemUsers" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames>
          <displayname description="Preferred User" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_Faxes">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Fax</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the fax activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="incident_customer_accounts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Account</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="none" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Contact" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="system_user_incidents">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>owninguser</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who owns the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="owninguser" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_contract_line_items">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ContractDetail</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the contact associated with the contract line." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="service_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Service</ReferencedEntityName>
      <ReferencingAttributeName>preferredserviceid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the service preferred by the contact for scheduling service activities." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="preferredserviceid" requiredlevel="none" imemode="auto" lookupclass="ServicesEnabled" lookupstyle="single" lookupbrowse="0" lookuptypes="4001">
        <displaynames>
          <displayname description="Preferred Service" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_as_responsible_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>responsiblecontactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact responsible for resolving the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="responsiblecontactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames>
          <displayname description="Responsible Contact" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_Appointments">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Appointment</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the appointment is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_owning_user">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>owninguser</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the user who owns the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="owninguser" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="equipment_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Equipment</ReferencedEntityName>
      <ReferencingAttributeName>preferredequipmentid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the facility/equipment preferred by the contact for scheduling service activities." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="preferredequipmentid" requiredlevel="none" imemode="auto" lookupclass="SystemResources" lookupstyle="single" lookupbrowse="0" lookuptypes="4000">
        <displaynames>
          <displayname description="Preferred Facility/Equipment" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_AsyncOperations">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>AsyncOperation</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the system job is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="SourceContact_BulkOperationLogs">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>BulkOperationLog</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the bulk operation is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="required" imemode="auto" lookupclass="AllLookups" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2, 4">
        <displaynames>
          <displayname description="Customers Excluded" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="transactioncurrency_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>TransactionCurrency</ReferencedEntityName>
      <ReferencingAttributeName>transactioncurrencyid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the currency associated with the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="transactioncurrencyid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="9105">
        <displaynames>
          <displayname description="Currency" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_as_customer_cases">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact associated with the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_customer_opportunity_roles">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>CustomerOpportunityRole</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the customer for the opportunity relationship." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_Letters">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Letter</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the letter activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_incidentbase_modifiedby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>modifiedby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who last modified the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="modifiedby" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames>
          <displayname description="Modified By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="order_primary_contact">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>SalesOrder</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Restrict</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>contactid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contact associated with the order." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contactid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="2">
        <displaynames />
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_Faxes">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Fax</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the fax activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_BulkDeleteFailures">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>BulkDeleteFailure</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the record that can not be deleted." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Name" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>parentcustomerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="parentcustomerid" requiredlevel="none" imemode="auto" lookupclass="ParentLookup" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Parent Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contract_cases">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>Contract</ReferencedEntityName>
      <ReferencingAttributeName>contractid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the contract referenced in the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="contractid" requiredlevel="none" imemode="auto" lookupclass="BasicContract" lookupstyle="single" lookupbrowse="0" lookuptypes="1010">
        <displaynames>
          <displayname description="Contract" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_DuplicateBaseRecord">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>DuplicateRecord</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>baserecordid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the base record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="baserecordid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Base Record ID" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contractlineitem_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ContractDetail</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the account or contact associated with the contract line." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_contactbase_modifiedby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>modifiedby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who last modified the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="modifiedby" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames>
          <displayname description="Modified By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="SystemUser_Incident">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>RemoveLink</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>ownerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who owns the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="ownerid" requiredlevel="required" imemode="auto" lookupclass="BasicOwner" lookupstyle="single" lookupbrowse="0" lookuptypes="8">
        <displaynames>
          <displayname description="Owner" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_DuplicateBaseRecord">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>DuplicateRecord</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <ReferencingAttributeName>baserecordid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the base record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="baserecordid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Base Record ID" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_Emails">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Email</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the e-mail is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Incident_Tasks">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Task</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the task is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegardingForTask" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="opportunity_customer_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Opportunity</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>customerid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the account or contact associated with the opportunity." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="customerid" requiredlevel="required" imemode="auto" lookupclass="BasicCustomer" lookupstyle="single" lookupbrowse="0" lookuptypes="1, 2">
        <displaynames>
          <displayname description="Potential Customer" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="kbarticle_incidents">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Incident</ReferencingEntityName>
      <ReferencedEntityName>KbArticle</ReferencedEntityName>
      <ReferencingAttributeName>kbarticleid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the knowledge base article associated with the case." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="kbarticleid" requiredlevel="none" imemode="auto" lookupclass="alllookups" lookupstyle="single" lookupbrowse="0" lookuptypes="127">
        <displaynames>
          <displayname description="Knowledge Base Article" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="price_level_contacts">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Contact</ReferencingEntityName>
      <ReferencedEntityName>PriceLevel</ReferencedEntityName>
      <ReferencingAttributeName>defaultpricelevelid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the default price list for the contact." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="defaultpricelevelid" requiredlevel="none" imemode="auto" lookupclass="PriceLevelByCurrency" lookupstyle="single" lookupbrowse="0" lookuptypes="1022">
        <displaynames>
          <displayname description="Price List" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="contact_activity_parties">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>ActivityParty</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <ReferencingAttributeName>partyid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the party associated with the activity." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="partyid" requiredlevel="none" imemode="auto" lookupclass="alllookups" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Party" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="Contact_Letters">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Letter</ReferencingEntityName>
      <ReferencedEntityName>Contact</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the letter activity is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
  </EntityRelationships>
  <Languages>
    <Language>1033</Language>
  </Languages>
</ImportExportXml>